Browse Source

Merge pull request #6017 from tohojo/master

acme: Change boot init script logic to invoke start
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
12a833d09f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      net/acme/Makefile
  2. +2
    -1
      net/acme/files/acme.init
  3. +1
    -0
      net/acme/files/run.sh

+ 1
- 1
net/acme/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=acme
PKG_VERSION:=2.7.8
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=GPLv3
PKG_SOURCE_PROTO:=git


+ 2
- 1
net/acme/files/acme.init View File

@ -25,7 +25,8 @@ stop_service() {
}
boot() {
$SCRIPT check_cron
touch "/var/run/acme_boot"
start
}
service_triggers()


+ 1
- 0
net/acme/files/run.sh View File

@ -234,6 +234,7 @@ load_vars()
check_cron
[ -n "$CHECK_CRON" ] && exit 0
[ -e "/var/run/acme_boot" ] && rm -f "/var/run/acme_boot" && exit 0
config_load acme
config_foreach load_vars acme


Loading…
Cancel
Save