This commit is contained in:
cdle
2021-10-01 21:09:08 +08:00
parent dd7cde419a
commit af6ba9180c
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -232,8 +232,8 @@ func initSys() {
service := `
[Service]
Type=forking
ExecStart=` + ExecPath + "/sillyGirl" + ` -d
PIDFile=/var/run/sillyGirl.pid
ExecStart=` + ExecPath + "/" + pname + ` -d
PIDFile=/var/run/` + pname + `.pid
Restart=always
User=root
Group=root