Don't fail if startup takes a while
pkgbase="systemd-monitor"
pkgname="systemd-monitor"
pkgdesc="Monitor systemd state and email root if there is a problem"
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
arch=("any")
source=("systemd-monitor"
"systemd-monitor.service")
-md5sums=('956a73156e7edfdfc925aea2e7ed76ad'
+md5sums=('17257b4fa3bfac90d90ea719f9e22375'
'bca0d235b9babc7ce5289fa5579f3d88')
package() {
systemctl show --property=SystemState
}
-sleep 60
+while [ "$(get_state)" = "SystemState=starting" ]; do
+ sleep 60
+done
while [ "$(get_state)" = "SystemState=running" ]; do
sleep 60