Skip to content
Snippets Groups Projects
Commit 8dfaa5d9 authored by Bob Mottram's avatar Bob Mottram
Browse files

irc user directory

parent 01c8ac8b
No related branches found
No related tags found
No related merge requests found
......@@ -464,6 +464,9 @@ function remove_irc {
if [ -d /home/znc ]; then
userdel -r znc
fi
if [ -d /var/run/ircd ]; then
rm -rf /var/run/ircd
fi
}
function configure_firewall_for_irc {
......@@ -576,6 +579,11 @@ function install_irc_server {
IRC_ONION_HOSTNAME=$(add_onion_service irc ${IRC_BOUNCER_PORT} ${IRC_ONION_PORT})
if [ ! -d /var/run/ircd ]; then
mkdir /var/run/ircd
chown -R irc:irc /var/run/ircd
fi
chmod 600 /etc/ngircd/ngircd.conf
systemctl restart ngircd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment