fix: process user specification

This commit is contained in:
SunBK201 2023-12-29 15:22:17 +08:00
parent 1233794da7
commit 132810ef17

View File

@ -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