fix dependencies, add .service
[sfa.git] / systemd / sfa-registry.service
index e87af52..84d3ac8 100644 (file)
@@ -1,8 +1,8 @@
 # this is meant to be installed under /etc/systemd/system
 [Unit]
 Description=SFA Registry Service
-Requires=sfa-db
-After=sfa-db
+Requires=sfa-db.service
+After=sfa-db.service
 
 [Service]
 ExecStart=/bin/bash -c "/usr/bin/sfa-start.py -r"