diff options
Diffstat (limited to 'pi-hole-server.install')
-rw-r--r-- | pi-hole-server.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pi-hole-server.install b/pi-hole-server.install index fd5cd3b8c9bf..bc4f7de38dfa 100644 --- a/pi-hole-server.install +++ b/pi-hole-server.install @@ -9,8 +9,8 @@ post_install() { /opt/pihole/mimic_setupVars.conf.sh /usr/bin/pihole updateGravity > /dev/null systemctl daemon-reload > /dev/null - [ ! `systemctl is-active pi-hole-gravity.timer 2>&1 >/dev/null` ] && systemctl start pi-hole-gravity.timer - [ ! `systemctl is-active pi-hole-logtruncate.timer 2>&1 >/dev/null` ] && systemctl start pi-hole-logtruncate.timer + systemctl is-active pi-hole-logtruncate.timer 2>&1 >/dev/null || systemctl start pi-hole-logtruncate.timer + systemctl is-active pi-hole-gravity.timer 2>&1 >/dev/null || systemctl start pi-hole-gravity.timer } post_upgrade() { |