2023-10-29 16:23:32 +01:00
|
|
|
[Unit]
|
2023-11-01 18:16:02 +01:00
|
|
|
Description=RustDesk: Relay Server
|
2023-10-29 16:23:32 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2023-10-29 16:27:43 +01:00
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2023-11-01 11:30:04 +01:00
|
|
|
Restart=always
|
2023-10-29 16:23:32 +01:00
|
|
|
LimitNOFILE=1000000
|
2023-10-31 23:15:47 +01:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
2023-11-01 12:12:24 +01:00
|
|
|
ExecStart=__INSTALL_DIR__/hbbr -p __PORT_HBBR__
|
2023-11-01 10:04:58 +01:00
|
|
|
StandardOutput=append:/var/log/__APP__/hbbr.log
|
|
|
|
StandardError=append:/var/log/__APP__/hbbr.error
|
2023-10-29 16:23:32 +01:00
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
[Install]
|
2023-10-31 23:15:47 +01:00
|
|
|
WantedBy=multi-user.target
|