You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
338 B

[Unit]
Description = wybb watchdog service
After=multi-user.target
[Service]
ExecStart = /home/forlinx/lk/wuyuanbiaoba/dist/wuyuan.app #按照实际目录来填写
Type = simple
Restart=always
RestartSec=30s # 检查一次,如果服务失败则重启
[Install]
WantedBy = multi-user.target
# 存放到 ubuntu /etc/systemd/system