mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 00:23:18 +00:00
* 添加构建deb包相关基础 * 补齐工作流,等待验证 * 修复构建时没有创建的data目录保障deb包构建 * 修复其余架构deb包构建中的依赖错误 * 修复:由于小改工作流导致写错架构的问题 * 修复拼写错误导致的目录错误 * 添加上传工件,和发布rel工作流,完成相关事务 --------- Co-authored-by: ymwl <ymwlpoolc@qq.com>
19 lines
392 B
Bash
19 lines
392 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
SERVICE=rustdesk-api.service
|
|
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
|
|
if [ "$1" = "purge" ]; then
|
|
rm -rf /var/log/rustdesk-api/rustdesk-api.*
|
|
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
|
|
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
|
|
fi
|
|
|
|
if [ "$1" = "remove" ]; then
|
|
deb-systemd-helper mask "${SERVICE}" >/dev/null || true
|
|
fi
|
|
|
|
exit 0
|