X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=systemd%2Fsfa-registry.service;h=84d3ac8d8ed03418fe00fbac181b6153dfc1c5e7;hb=6766a510ba0528c1c880497d4ae5a547cc76844a;hp=fec12f5866cbf77a3cb580fa22cdc97ce077c528;hpb=9ba5c613360d4d8e4ecae4da383819464a10d5fd;p=sfa.git diff --git a/systemd/sfa-registry.service b/systemd/sfa-registry.service index fec12f58..84d3ac8d 100644 --- a/systemd/sfa-registry.service +++ b/systemd/sfa-registry.service @@ -1,12 +1,11 @@ # this is meant to be installed under /etc/systemd/system [Unit] Description=SFA Registry Service +Requires=sfa-db.service +After=sfa-db.service [Service] -#Environment=PYTHONPATH=/root/nbhosting/nbhosting ExecStart=/bin/bash -c "/usr/bin/sfa-start.py -r" -Requires=sfa-db -After=sfa-db [Install] WantedBy=multi-user.target