Skip to content

Fix systemd unreferenced variable warning on Debian - #644

Open
jcharaoui wants to merge 1 commit into
OpenVoxProject:mainfrom
jcharaoui:fix-systemd-warning
Open

jcharaoui wants to merge 1 commit into
OpenVoxProject:mainfrom
jcharaoui:fix-systemd-warning

Conversation

@jcharaoui

Copy link
Copy Markdown
Contributor

Short description

Currently when starting puppet.service on Debian the following message is emitted:

puppet.service: Referenced but unset environment variable evaluates
to an empty string: PUPPET_EXTRA_OPTS

This is because puppet.default is used both by the systemd and sysvinit scripts.

Ths fix is to replace $DAEMON_OPTS with $PUPPET_EXTRA_OPTS.

Checklist

I have:

Currently when starting puppet.service on Debian the following message
is emitted:

    puppet.service: Referenced but unset environment variable evaluates
    to an empty string: PUPPET_EXTRA_OPTS

This is because puppet.default is used both by the systemd and sysvinit
scripts.

Ths fix is to replace $DAEMON_OPTS with $PUPPET_EXTRA_OPTS.

Signed-off-by: Jérôme Charaoui <jerome@riseup.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant