\$MAINPID
parent
458eb74c94
commit
6d65045ebe
|
@ -38,7 +38,7 @@ Environment="RUST_BACKTRACE=1"
|
|||
WorkingDirectory=${WORKSPACE}
|
||||
# EnvironmentFile=~/myserve/serverstatus/.env
|
||||
ExecStart=${WORKSPACE}/stat_client -a "${server_address}" -u ${uid} -p ${passwd}
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecReload=/bin/kill -HUP \$MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
@ -75,7 +75,7 @@ Group=${user_name}
|
|||
Environment="RUST_BACKTRACE=1"
|
||||
WorkingDirectory=${WORKSPACE}
|
||||
ExecStart=${WORKSPACE}/stat_server -c ${WORKSPACE}/config.toml
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecReload=/bin/kill -HUP \$MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue