2016-02-01 17:00:34 +02: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
|
2016-02-01 17:00:34 +02:00
|
|
|
|
|
|
|
[Service]
|
2016-04-18 15:45:13 +03:00
|
|
|
Type=simple
|
2017-11-21 11:36:11 +03:00
|
|
|
ExecStart=/usr/bin/python3 /usr/share/ahenk/ahenkd.py start
|
|
|
|
ExecStop=/usr/bin/python3 /usr/share/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]
|
2020-12-18 15:06:25 +03:00
|
|
|
WantedBy=multi-user.target
|