5
if test ${UID} = 0; then
6
# running as root inside the container; presumably the caller determined
7
# that this is needed to get write access to the var directory.
9
# make var directory usable
10
chown -R nobody:nobody /var/@progname@
11
# drop root rights in exec
12
EXEC_DECO="chpst -u nobody"
17
exec ${EXEC_DECO} /usr/local/bin/@progname@-dedicated \
18
--userdatadir /usr/share/@progname@ \
19
--vardir /var/@progname@ \
20
--autoresourcedir /var/@progname@/resource \