mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-17 01:06:13 +00:00
fix: process user specification
This commit is contained in:
parent
1233794da7
commit
132810ef17
@ -39,13 +39,11 @@ start_service() {
|
|||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
|
|
||||||
if
|
if
|
||||||
id -u shellclash &
|
id -u shellclash &>/dev/null
|
||||||
>/dev/null
|
|
||||||
then
|
then
|
||||||
procd_set_param user shellclash
|
procd_set_param user shellclash
|
||||||
elif
|
elif
|
||||||
id -u nobody &
|
id -u nobody &>/dev/null
|
||||||
>/dev/null
|
|
||||||
then
|
then
|
||||||
procd_set_param user nobody
|
procd_set_param user nobody
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user