ahenk-go/build/package/DEBIAN/ahenkd-go.service

17 lines
324 B
SYSTEMD
Raw Normal View History

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
ExecStart=/usr/bin/ahenkd-go start
ExecStop=/usr/bin/ahenkd-go stop
ExecReload=kill -HUP $MAINPID
PIDFile=/run/ahenkd-go.pid
Restart=always
[Install]
WantedBy=multi-user.target