rustdesk-server/Makefile

31 lines
601 B
Makefile
Raw Permalink Normal View History

2024-07-09 20:39:53 +03:00
all:
echo OK
install:
mkdir -p /opt/rustdesk
2024-10-20 19:08:19 +03:00
cp -vf hbbs /opt/rustdesk/;true
2024-07-09 20:39:53 +03:00
chmod +x /opt/rustdesk/hbbs
2024-10-20 19:08:19 +03:00
cp -vf hbbr /opt/rustdesk/;true
chmod +x /opt/rustdesk/hbbr;true
cp -vf rustdesk-utils /opt/rustdesk/;true
2024-07-09 20:39:53 +03:00
chmod +x /opt/rustdesk/rustdesk-utils
cp -vf hbbr.service /etc/systemd/system/
cp -vf hbbs.service /etc/systemd/system/
cp -vf hbbs.default /etc/default/hbbs
mkdir -p /var/log/rustdesk
systemctl daemon-reload
enable:
systemctl enable hbbs hbbr
start:
systemctl start hbbs hbbr
stop:
systemctl stop hbbs hbbr
restart: stop start
disable:
systemctl disable hbbs hbbr