Ahenk/lib/systemd/system/ahenk.service

14 lines
281 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]
2016-04-18 15:45:13 +03:00
Type=simple
ExecStart=/usr/bin/python3 /opt/ahenk/ahenkd.py start
ExecStop=/usr/bin/python3 /opt/ahenk/ahenkd.py stop
2016-02-01 17:00:34 +02:00
PIDFile=/var/run/ahenkd.pid
2016-10-06 14:47:15 +03:00
Restart=always
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