2023-08-02 23:08:11 +03:00
|
|
|
[Unit]
|
|
|
|
Description=Ahenk Agent
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network.target network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
User=root
|
|
|
|
Group=root
|
2023-08-24 15:20:43 +03:00
|
|
|
ExecStart=/usr/bin/ahenk-go start
|
|
|
|
ExecStop=/usr/bin/ahenk-go stop
|
2023-08-02 23:08:11 +03:00
|
|
|
ExecReload=kill -HUP $MAINPID
|
2023-08-25 15:13:52 +03:00
|
|
|
PIDFile=/run/ahenk-go.pid
|
2023-08-02 23:08:11 +03:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|