iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
constantly firing timers cause systemd to think startup never finishes
[distro-setup]
/
epanic-clean
diff --git
a/epanic-clean
b/epanic-clean
index 9886cb1228980d1bb1b997efaf82d5166187115f..4f365fda5aaf907dc66e69323166b0412c46fc72 100755
(executable)
--- a/
epanic-clean
+++ b/
epanic-clean
@@
-126,12
+126,15
@@
spamassassin spam acl condition
EOF
}
EOF
}
-if [[ $INVOCATION_ID ]]; then
- # this is to prevent systemd from filling up the journal
- for (( runcount=0; runcount < 100; runcount++ )); do
+loop-main() {
+ while true; do
main
sleep 30
done
main
sleep 30
done
+}
+
+if [[ $INVOCATION_ID ]]; then
+ loop-main
else
main
fi
else
main
fi