rustdesk-server/Makefile
2024-10-20 16:08:19 +00:00

31 lines
601 B
Makefile

all:
echo OK
install:
mkdir -p /opt/rustdesk
cp -vf hbbs /opt/rustdesk/;true
chmod +x /opt/rustdesk/hbbs
cp -vf hbbr /opt/rustdesk/;true
chmod +x /opt/rustdesk/hbbr;true
cp -vf rustdesk-utils /opt/rustdesk/;true
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