summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2021-07-18 02:38:21 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-19 16:23:32 +0700
commita845cef355b0eaa313fc56262b340ec38057e595 (patch)
tree2e6a1c5e71409f1de0dd9257c92e496ae8498e64 /network
parent7f2c56c9fc965acddc07dd50fc06a7511b706088 (diff)
downloadslackbuilds-a845cef355b0eaa313fc56262b340ec38057e595.tar.gz
slackbuilds-a845cef355b0eaa313fc56262b340ec38057e595.tar.xz
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>
Diffstat (limited to 'network')
-rw-r--r--network/monkey/monkey.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/network/monkey/monkey.SlackBuild b/network/monkey/monkey.SlackBuild
index 7aa95042ed..24f00af8f6 100644
--- a/network/monkey/monkey.SlackBuild
+++ b/network/monkey/monkey.SlackBuild
@@ -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