blob: 43734f1c18154025bfa2697659bc8a9fb021253a [file] [log] [blame]
[Unit]
Description=XOS Observer
After=syslog.target network.target
[Service]
Type=forking
User=root
PIDFile=/var/run/xos-observer.pid
ExecStart=/usr/sbin/daemonize -c /opt/xos -p /var/run/xos-observer.pid /opt/xos/xos-observer.py
ExecStop=kill $(cat /var/run/xos-observer.pid)
[Install]
WantedBy=multi-user.target