We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5229b commit 424d510Copy full SHA for 424d510
res/DEBIAN/postinst
@@ -6,7 +6,7 @@ if [ "$1" = configure ]; then
6
7
INITSYS=$(ls -al /proc/1/exe | awk -F' ' '{print $NF}' | awk -F'/' '{print $NF}')
8
ln -f -s /usr/share/rustdesk/rustdesk /usr/bin/rustdesk
9
-
+
10
if [ "systemd" == "$INITSYS" ]; then
11
12
if [ -e /etc/systemd/system/rustdesk.service ]; then
@@ -23,7 +23,9 @@ if [ "$1" = configure ]; then
23
sed -i "s|pkill|/usr/bin/pkill|g" /usr/lib/systemd/system/rustdesk.service
24
fi
25
systemctl daemon-reload
26
- systemctl enable rustdesk
27
- systemctl start rustdesk
+ # ensure rustdesk service is NOT running on startup
28
+ systemctl disable rustdesk
29
+ systemctl stop rustdesk
30
31
0 commit comments