Ahenk/lib/systemd/system/ahenk.service

12 lines
251 B
SYSTEMD
Raw Normal View History

2016-02-01 17:00:34 +02:00
[Unit]
Description=Starts Ahenk at system startup
After=network.target
[Service]
Type=forking
ExecStart=python "/opt/ahenk/ahenkd.py start"
ExecStop=python "/opt/ahenk/ahenkd.py stop"
PIDFile=/var/run/ahenkd.pid
[Install]
WantedBy=multi-user.target