summaryrefslogtreecommitdiff
path: root/community/polipo/polipo.rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'community/polipo/polipo.rc.d')
-rw-r--r--community/polipo/polipo.rc.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/polipo/polipo.rc.d b/community/polipo/polipo.rc.d
index 260fab050..0333ded57 100644
--- a/community/polipo/polipo.rc.d
+++ b/community/polipo/polipo.rc.d
@@ -19,7 +19,7 @@ case "$1" in
[[ -f /run/$daemon_name.pid ]] &&
rm -f /run/$daemon_name.pid
# RUN
- sudo -u nobody /usr/bin/$daemon_name ${POLIPO_ARGS}
+ su -c "/usr/bin/$daemon_name ${POLIPO_ARGS}" -s /bin/sh - nobody
#
if [[ $? -gt 0 ]]; then
stat_fail