dirty but handy way to launch services

This commit is contained in:
n 2016-03-28 15:54:03 +02:00
parent 8879590cb5
commit 7c66548095

View file

@ -34,4 +34,11 @@ then
exit 0 exit 0
fi fi
fi fi
# dirty hack for unhappy services
for jail in `seq 0 6`; do screen -p $jail -X stuff "/usr/local/bin/nrpe2 restart^M"; done
screen -p ftp -X stuff "service vsftpd_ipv6 start^M"
screen -p mail -X stuff "service qmailsmtpd start^M"
# attach to freshly-created screen
screen -r $session -p 0 screen -r $session -p 0