Ahenk/lib/systemd/system/ahenk.service

13 lines
253 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
2016-02-29 10:48:00 +02:00
ExecStart=python3 "/opt/ahenk/ahenkd.py start"
ExecStop=python3 "/opt/ahenk/ahenkd.py stop"
2016-02-01 17:00:34 +02:00
PIDFile=/var/run/ahenkd.pid
2016-02-29 10:48:00 +02:00
2016-02-01 17:00:34 +02:00
[Install]
2016-02-29 10:48:00 +02:00
WantedBy=multi-user.target