Ahenk/lib/systemd/system/ahenk.service
2016-10-06 14:47:15 +03:00

13 lines
281 B
Desktop File

[Unit]
Description=Starts Ahenk at system startup
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/ahenk/ahenkd.py start
ExecStop=/usr/bin/python3 /opt/ahenk/ahenkd.py stop
PIDFile=/var/run/ahenkd.pid
Restart=always
[Install]
WantedBy=multi-user.target