envs_user_manage: try to fix znc start

This commit is contained in:
creme 2019-12-13 23:30:49 +01:00
parent 46b96ec817
commit 61a3fcb75a
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ add_user() {
printf '\n~%s\n' "$user" > /home/"$user"/.mutt/signature
# setup znc account
pkill -SIGUSR1 znc && pkill znc
sudo -u znc pkill -SIGUSR1 znc && pkill znc
sudo -u znc /srv/znc/add_znc_user.sh "$user"
systemctl start znc
systemctl start znc.service
# setup weechat
sed -i s/_username_/"$user"/g /home/"$user"/.weechat/irc.conf