dont i hate how initd respawns anyway. why so Fucking Ass
release / build (push) Successful in 53s

This commit is contained in:
lda committed 2025-08-31 05:18:32 +07:00
1 parent eeff4ebe1a
commit 1a94cdb32c
7 files changed
+30 -24

No files matched your search

+3 -11
View File
@@ -2,24 +2,16 @@
START=66
USE_PROCD=1
# reboot == new file.
FLAG=/var/wakey_updated.flag
start_service() {
[ -f "$FLAG" ] && return
procd_open_instance
procd_set_param command /bin/sh -c \
'while ! /etc/ldlda_help/update_wakey.sh; do sleep 5; done'
'while ! /etc/ldlda_help/update_wakey.sh; do sleep 5; done'
procd_set_param respawn 9999 15 1
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}
stop_service() {
: # no-op
}
post_service() {
touch "$FLAG"
: # no-op
}