Browse Source

n/citadel: Improved launch script.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
254d1f643b
  1. 2
      n/citadel/citadel.SlackBuild
  2. 1
      n/citadel/doinst.sh
  3. 1
      n/citadel/rc.citadel

2
n/citadel/citadel.SlackBuild

@ -112,7 +112,7 @@ mv $PKG/etc/citadel/mail.aliases $PKG/etc/citadel/mail.aliases.new
mv $PKG/etc/citadel/public_clients $PKG/etc/citadel/public_clients.new
# Install launch script
install -D -m 644 $CWD/rc.citadel $PKG/etc/rc.d/rc.citadel
install -D -m 644 $CWD/rc.citadel $PKG/etc/rc.d/rc.citadel.new
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

1
n/citadel/doinst.sh

@ -13,6 +13,7 @@ config()
config /etc/citadel/citadel.rc.new
config /etc/citadel/mail.aliases.new
config /etc/citadel/public_clients.new
config /etc/rc.d/rc.citadel.new
if ! grep ^citadel /etc/group > /dev/null ; then
/usr/sbin/groupadd -g 227 citadel

1
n/citadel/rc.citadel

@ -10,6 +10,7 @@ start)
stop)
[ -f $PIDFILE ] && kill -TERM $(< $PIDFILE)
rm -f $PIDFILE
;;
restart)

Loading…
Cancel
Save