2023-06-03 16:02:38 +03:00
|
|
|
[Unit]
|
|
|
|
Description=Rustdesk Signal Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
LimitNOFILE=1000000
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
|
2023-06-03 22:40:03 +03:00
|
|
|
EnvironmentFile=/etc/default/hbbs
|
2023-06-03 16:02:38 +03:00
|
|
|
|
|
|
|
WorkingDirectory=/opt/rustdesk/
|
|
|
|
ExecStart=/opt/rustdesk/hbbs -k _
|
|
|
|
StandardOutput=append:/var/log/rustdesk/signalserver.log
|
|
|
|
StandardError=append:/var/log/rustdesk/signalserver.error
|
|
|
|
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|