projects
/
shibboleth
/
cpp-sp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't need chown of new log dir, clean up some indents
[shibboleth/cpp-sp.git]
/
configs
/
shibd-suse.in
diff --git
a/configs/shibd-suse.in
b/configs/shibd-suse.in
index
ed26f9e
..
318499f
100644
(file)
--- a/
configs/shibd-suse.in
+++ b/
configs/shibd-suse.in
@@
-51,8
+51,11
@@
rc_reset
case "$1" in
start)
case "$1" in
start)
+ # Make sure package run directory exists.
+ [ -d @-PKGRUNDIR-@ ] || mkdir @-PKGRUNDIR-@
+
# Handle transition from root to non-root packages.
# Handle transition from root to non-root packages.
- chown
$SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@/*
2>/dev/null || :
+ chown
-R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ @-PKGCACHEDIR-@
2>/dev/null || :
echo -n "Starting $DESC ($NAME)"
## Start daemon with startproc(8). If this fails
echo -n "Starting $DESC ($NAME)"
## Start daemon with startproc(8). If this fails