diff --git a/syslog-ng/rootfs/etc/cont-init.d/syslog-ng.sh b/syslog-ng/rootfs/etc/cont-init.d/syslog-ng.sh index b3a5f4e..501554d 100644 --- a/syslog-ng/rootfs/etc/cont-init.d/syslog-ng.sh +++ b/syslog-ng/rootfs/etc/cont-init.d/syslog-ng.sh @@ -3,9 +3,6 @@ # Home Assistant Community Add-on: syslog-ng # Configures syslog-ng # ============================================================================== -declare hostname -bashio::require.unprotected - readonly CONFIG="/etc/syslog-ng/syslog-ng.conf" CUSTOM_CONF=$(bashio::config 'custom_conf.location') diff --git a/syslog-ng/run.sh b/syslog-ng/run.sh index a017136..a760fcd 100755 --- a/syslog-ng/run.sh +++ b/syslog-ng/run.sh @@ -1,7 +1,4 @@ #!/usr/bin/env bashio -declare hostname -bashio::require.unprotected - readonly CONFIG="/etc/syslog-ng/syslog-ng.conf" CUSTOM_CONF=$(bashio::config 'custom_conf.location')