safesight/control/scripts/deploy/safesightd.service
tian 98e375dc36 chore: 合并 safesight-control 仓库为 control/ 子目录
项目合并为单仓库:设备端(根) + 管理端(control/)。
两端 git 历史完整保留(git subtree 合并)。

git-subtree-dir: control
git-subtree-mainline: 923ab10d5c
git-subtree-split: 70738edb31
2026-08-02 11:13:26 +08:00

17 lines
343 B
Desktop File

[Unit]
Description=SafeSight Control Service
After=network.target network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/safesightd
ExecStart=/opt/safesightd/bin/safesightd /opt/safesightd/config/safesightd.json
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target