mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-02 19:11:47 +02:00
- 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
14 lines
234 B
Bash
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
|