forked from ungleich-public/cdist-contrib
[__unbound_exporter] fix chicken-egg problem for service start
This commit is contained in:
parent
16b5158ef5
commit
2d0491dafd
2 changed files with 3 additions and 1 deletions
|
@ -42,5 +42,8 @@ else
|
|||
|
||||
# Clean up!
|
||||
rm -r \$workdir
|
||||
|
||||
# Start service.
|
||||
service unbound_exporter start
|
||||
fi
|
||||
EOF
|
||||
|
|
|
@ -41,5 +41,4 @@ __file /etc/init.d/unbound_exporter \
|
|||
--source "$__type/files/openrc-service" \
|
||||
--mode 755
|
||||
|
||||
require="__file/etc/init.d/unbound_exporter" __service unbound_exporter --action start
|
||||
require="__file/etc/init.d/unbound_exporter" __start_on_boot unbound_exporter
|
||||
|
|
Loading…
Reference in a new issue