Sets how often to save ZNC config file

This commit is contained in:
Naglfar
2021-09-18 16:45:20 +02:00
parent 5d7d221fd1
commit d41a223285
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/dash
PID=$(pgrep -u znc znc)
#Rewrite znc.conf
[ $PID ] && kill -s USR1 $PID