[__unbound_exporter] fix chicken-egg problem for service start

This commit is contained in:
fnux 2021-04-08 17:31:57 +02:00
parent 16b5158ef5
commit 2d0491dafd
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12
2 changed files with 3 additions and 1 deletions

View file

@ -42,5 +42,8 @@ else
# Clean up!
rm -r \$workdir
# Start service.
service unbound_exporter start
fi
EOF

View file

@ -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