summaryrefslogtreecommitdiff
path: root/ham/svxlink/svxlink.SlackBuild
diff options
context:
space:
mode:
authorGustavo Conrad <gus3963@gmail.com>2018-04-06 00:29:08 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-07 08:13:12 +0700
commit3fb4edd186422c7764f2831957c3fcc225658acc (patch)
tree13b7b70440fb4ee1e7944890118c67e594173d2f /ham/svxlink/svxlink.SlackBuild
parentff73ccf5a98405f0cb3fc1ba29ce761dcd446480 (diff)
downloadslackbuilds-3fb4edd186422c7764f2831957c3fcc225658acc.tar.gz
ham/svxlink: Added logrotate script.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ham/svxlink/svxlink.SlackBuild')
-rw-r--r--ham/svxlink/svxlink.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/ham/svxlink/svxlink.SlackBuild b/ham/svxlink/svxlink.SlackBuild
index 407b9ad629..8d043635c1 100644
--- a/ham/svxlink/svxlink.SlackBuild
+++ b/ham/svxlink/svxlink.SlackBuild
@@ -140,6 +140,9 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.svxlink > $PKG/etc/rc.d/rc.svxlink.new
+mkdir -p $PKG/etc/logrotate.d
+cat $CWD/svxlink > $PKG/etc/logrotate.d/svxlink
+
# Rename .conf to .new to be processed by doinst.sh
rename .conf .conf.new $PKG/etc/svxlink/*
rename .conf .conf.new $PKG/etc/svxlink/svxlink.d/*.conf