Skip to content

Commit

Permalink
Fix for undefined DAEMON_ARGS warning fixes #1612
Browse files Browse the repository at this point in the history
If DAEMON_ARGS isn't set in the environment file or the file doesn't
exist on systemd will output a warning see
systemd/systemd@f331434

This sets DAEMON_ARGS to an empty value if not set.
  • Loading branch information
rwky authored and steveschnepp committed Jun 20, 2024
1 parent cfc54ae commit 46387c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/example/service/linux/systemd/munin-node.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Documentation=man:munin-node(8) http://guide.munin-monitoring.org/en/latest/refe
EnvironmentFile=-/etc/default/munin-node
Type=forking
Restart=always
ExecStart=/usr/sbin/munin-node $DAEMON_ARGS
ExecStart=/usr/sbin/munin-node ${DAEMON_ARGS- }
PIDFile=/run/munin/munin-node.pid

[Install]
Expand Down

0 comments on commit 46387c5

Please sign in to comment.