aports/extra/tinyproxy/tinyproxy.install
Natanael Copa 2164218472 extra/tinyproxy: run as "tinyproxy" by default. fixed it so it works
- run sed to set correct user, group and pidfile in default config
- copied init.d script from gentoo
- killed unused conf.d file.
- fix installscript to create user and set perms to pidfile dir
- actually install the init.d script
2009-02-24 10:21:10 +00:00

14 lines
234 B
Bash

#!/bin/sh
case "$1" in
pre_install)
adduser -h /dev/null -s /bin/false -D tinyproxy 2>/dev/null
;;
post_install)
chown tinyproxy:tinyproxy /var/run/tinyproxy
;;
esac
# return with success even if user already exist
exit 0