mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
feat: add pidfile parameter to service configuration
This commit is contained in:
parent
749ff30f7e
commit
ec08996b22
@ -53,6 +53,7 @@ start_service() {
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_set_param limits nproc="unlimited" as="unlimited" memlock="unlimited" nofile="65535 65535"
|
||||
procd_set_param pidfile "/var/run/$NAME.pid"
|
||||
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user