Ahenk/debian/ahenk.service

14 lines
342 B
SYSTEMD
Raw Normal View History

2020-04-06 18:10:41 +03:00
[Unit]
Description=Starts Ahenk at system startup
2020-12-18 15:06:25 +03:00
Wants=network-online.target
After=network.target network-online.target
2020-04-06 18:10:41 +03:00
[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]
2020-12-18 15:06:25 +03:00
WantedBy=multi-user.target