Make some directories

This commit is contained in:
Bob Mottram 2015-08-21 21:50:51 +01:00
parent 2f02b7394a
commit 3a07629c7c
1 changed files with 4 additions and 0 deletions

View File

@ -8428,6 +8428,10 @@ function install_irc_server {
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
sed -i "s/;DNS =.*/DNS = no/g" /etc/ngircd/ngircd.conf sed -i "s/;DNS =.*/DNS = no/g" /etc/ngircd/ngircd.conf
fi fi
mkdir /var/run/ircd
chown -R irc:irc /var/run/ircd
touch /var/run/ngircd/ngircd.pid
chown -R irc:irc /var/run/ngircd
service ngircd start service ngircd start
# keep the daemon running # keep the daemon running