diff options
author | Paolo Asperti <[email protected]> | 2022-07-15 15:48:54 +0200 |
---|---|---|
committer | Paolo Asperti <[email protected]> | 2022-07-15 18:40:54 +0200 |
commit | 3340322355ed8439ee998884d15c09e3674f09d3 (patch) | |
tree | 6f27d3ca34ba5ad8bf1c442096bac2894f9424a9 /systemd | |
parent | 39153ce1472417be101051baecb452da467f2652 (diff) | |
download | rustdesk-server-3340322355ed8439ee998884d15c09e3674f09d3.tar.gz rustdesk-server-3340322355ed8439ee998884d15c09e3674f09d3.zip |
deb packaging
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/rustdesk-hbbr.service | 18 | ||||
-rw-r--r-- | systemd/rustdesk-hbbs.service | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/systemd/rustdesk-hbbr.service b/systemd/rustdesk-hbbr.service new file mode 100644 index 0000000..43396a3 --- /dev/null +++ b/systemd/rustdesk-hbbr.service @@ -0,0 +1,18 @@ + +[Unit] +Description=Rustdesk Relay Server + +[Service] +Type=simple +LimitNOFILE=1000000 +ExecStart=/usr/bin/hbbr +WorkingDirectory=/var/lib/rustdesk-server/ +User= +Group= +Restart=always +# Restart service after 10 seconds if node service crashes +RestartSec=10 + +[Install] +WantedBy=multi-user.target + diff --git a/systemd/rustdesk-hbbs.service b/systemd/rustdesk-hbbs.service new file mode 100644 index 0000000..16427f1 --- /dev/null +++ b/systemd/rustdesk-hbbs.service @@ -0,0 +1,18 @@ + +[Unit] +Description=Rustdesk Signal Server + +[Service] +Type=simple +LimitNOFILE=1000000 +ExecStart=/usr/bin/hbbs +WorkingDirectory=/var/lib/rustdesk-server/ +User= +Group= +Restart=always +# Restart service after 10 seconds if node service crashes +RestartSec=10 + +[Install] +WantedBy=multi-user.target + |