mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
acme: Change boot init script logic to invoke start
The new procd config dependency tracking requires the start method to be called even on boot. So add a state file that is checked by the run script to condition the special-case boot run instead of the previous independent call to the run script. Ref: https://github.com/openwrt/luci/pull/1769 Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
@@ -25,7 +25,8 @@ stop_service() {
|
||||
}
|
||||
|
||||
boot() {
|
||||
$SCRIPT check_cron
|
||||
touch "/var/run/acme_boot"
|
||||
start
|
||||
}
|
||||
|
||||
service_triggers()
|
||||
|
||||
Reference in New Issue
Block a user