Optional exporter as some systems do not have /proc/<num>/io (OpenWrt)
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
@@ -16,6 +16,7 @@ ENV ADMIN_PASSWORD_SECRET=samba-admin-password \
|
||||
WINBIND_USE_DEFAULT_DOMAIN=yes \
|
||||
WORKGROUP=AD \
|
||||
CUPS_TRUSTED_PROXY= \
|
||||
EXPORTER_ENABLED=true \
|
||||
EXPORTER_LISTEN_ADDRESS=127.0.0.1:9922
|
||||
|
||||
COPY *.sh /
|
||||
|
||||
@@ -38,8 +38,9 @@ redirect_stderr=true
|
||||
[program:samba_exporter]
|
||||
environment=LANG="C",LC_TIME="c.utf-8",LC_NUMERIC="c.UTF-8"
|
||||
command=/usr/bin/samba_exporter -web.listen-address=%(ENV_EXPORTER_LISTEN_ADDRESS)s
|
||||
autostart=%(ENV_EXPORTER_ENABLED)s
|
||||
|
||||
[program:samba_statusd]
|
||||
environment=LANG="C",LC_TIME="c.utf-8",LC_NUMERIC="c.UTF-8"
|
||||
command=/usr/bin/start_samba_statusd
|
||||
|
||||
autostart=%(ENV_EXPORTER_ENABLED)s
|
||||
Reference in New Issue
Block a user