aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar steering72532026-05-10 07:58:20 -0600
committerGravatar steering72532026-05-10 07:58:20 -0600
commit6c708fc8954643d662ce161c44269e4c64224360 (patch)
treea73877a532aa004b3e521120ac22e3212102cc28
parentwasnt verbose enough for systemd (diff)
ahhhh
-rwxr-xr-xcronjob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cronjob.py b/cronjob.py
index ea3b245..d85a527 100755
--- a/cronjob.py
+++ b/cronjob.py
@@ -34,7 +34,7 @@ curs.close()
spcfg = open('/opt/autopeer/smokeping-peer.conf', 'w')
print(sp_conf_str, file=spcfg)
spcfg.close()
-os.system('systemctl try-reload-or-restart smokeping')
+os.system('systemctl try-reload-or-restart smokeping 2>/dev/null')
curs = DB.execute('SELECT name, asn FROM peers WHERE deleted=1')
deletions = []