first fixes in the systemd/ area
[sfa.git] / systemd / sfa-aggregate.service
index 1174bb7..497c860 100644 (file)
@@ -1,12 +1,10 @@
-# this is meant to be installed under /etc/systemd/system
 [Unit]
 Description=SFA Aggregate Manager (AM)
+Requires=sfa-db
+After=sfa-db
 
 [Service]
-#Environment=PYTHONPATH=/root/nbhosting/nbhosting
 ExecStart=/bin/bash -c "/usr/bin/sfa-start.py -a"
-Requires=sfa-db
-After=sfa-db
 
 [Install]
 WantedBy=multi-user.target