network/monkey: Don't package /var/run/monkey
Since /var/run is a link to /run (and /run is tmpfs), there's no point packaging any subdir of /run or /var/run. It's highly likely that further changes will be needed for this build. Among those are: 1) create /var/run/monkey/ during init (rc.monkey) 2) change ownership of /var/run/monkey/ to apache:apache during init Unrelated to the above, but also needed if this app uses logrotate to rotate its logs: the logrotate file needs to specify the user and group to switch to for the rotation process. See e.g. the logrotate file in network/yadifa/ Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7f2c56c9fc
commit
a845cef355
|
@ -116,10 +116,7 @@ sed -i "s|# Load /usr/lib${LIBDIRSUFFIX}/monkey/monkey-logger.so|Load /usr/lib${
|
|||
# make log dir
|
||||
mkdir -p $PKG/var/log/monkey
|
||||
|
||||
# make run dir
|
||||
mkdir -p $PKG/var/run/monkey
|
||||
|
||||
# move init script to it's dir
|
||||
# move init script to its dir
|
||||
mkdir -p $PKG/etc/rc.d
|
||||
install -Dpm 0644 monkey.init $PKG/etc/rc.d/rc.monkey.new
|
||||
|
||||
|
|
Loading…
Reference in New Issue