2023-10-29 16:23:32 +01:00
|
|
|
[Unit]
|
2023-10-31 23:13:18 +01:00
|
|
|
Description=Rustdesk Signal Server
|
2023-10-29 16:23:32 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2023-10-31 23:13:18 +01:00
|
|
|
Restart=always
|
2023-10-29 16:23:32 +01:00
|
|
|
LimitNOFILE=1000000
|
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
2023-11-01 11:50:56 +01:00
|
|
|
ExecStart=__INSTALL_DIR__/hbbs -r 127.0.0.1 -p __PORT_HBBS__
|
2023-11-01 10:04:58 +01:00
|
|
|
StandardOutput=append:/var/log/__APP__/hbbs.log
|
|
|
|
StandardError=append:/var/log/__APP__/hbbs.error
|
2023-10-29 16:23:32 +01:00
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
2023-10-31 23:13:18 +01:00
|
|
|
WantedBy=multi-user.target
|