diff options
author | max.bra | 2016-10-18 13:13:48 +0200 |
---|---|---|
committer | max.bra | 2016-10-18 13:13:48 +0200 |
commit | 67a75e522e89721690f946a2ad6a7d78a5a33f82 (patch) | |
tree | 0056b57aadd612c6a03765fa589f2ccdb6f865f5 | |
parent | 0aab095097094de3acd7983a69526aad559f067d (diff) | |
download | aur-67a75e522e89721690f946a2ad6a7d78a5a33f82.tar.gz |
litle changes without version bump
-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() { |