Ahenk/debian/ahenk.service

14 lines
293 B
SYSTEMD
Raw Normal View History

2019-05-13 17:11:52 +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