Ahenk/debian/ahenk.service

14 lines
293 B
SYSTEMD
Raw Normal View History

2020-04-06 18:10:41 +03:00
[Unit]
Description=Starts Ahenk at system startup
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/share/ahenk/ahenkd.py start
ExecStop=/usr/bin/python3 /usr/share/ahenk/ahenkd.py stop
PIDFile=/var/run/ahenkd.pid
Restart=always
[Install]
WantedBy=multi-user.target