This commit is contained in:
1 parent
eeff4ebe1a
commit
1a94cdb32c
7 files changed
+30
-24
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user