rustdesk-server/hbbr.service

24 lines
452 B
SYSTEMD
Raw Normal View History

2024-07-09 20:39:53 +03:00
[Unit]
Description=RustDesk Relay Server
After=network.target
[Service]
Type=simple
User=root
Group=root
#Environment="KEY_PRIV=private_key_text"
#Environment="KEY_PUB=pub_key_text"
LimitNOFILE=1000000
WorkingDirectory=/opt/rustdesk/
ExecStart=/opt/rustdesk/hbbr -k _
Restart=always
RestartSec=10
StandardOutput=append:/var/log/rustdesk/relayserver.log
StandardError=append:/var/log/rustdesk/relayserver.error
[Install]
WantedBy=multi-user.target