blob: 90d3c7c2e4f9f3606d9c9d974e13fd5945db2488 [file] [log] [blame]
Andy Bavier1e2c2322013-10-28 15:17:35 -04001[Unit]
2Description=PlanetStack Observer
3After=syslog.target network.target
4
5[Service]
6Type=forking
7User=root
8PIDFile=/var/run/planetstack-backend.pid
9ExecStart=/usr/sbin/daemonize -c /opt/planetstack -p /var/run/planetstack-backend.pid /opt/planetstack/planetstack-backend.py
10ExecStop=kill $(cat /var/run/planetstack-backend.pid)
11
12[Install]
13WantedBy=multi-user.target
14