mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 02:15:20 +00:00
collectd: fix systemd unit override (#194)
This commit is contained in:
parent
f0303da4fa
commit
dd5bf0ef02
@ -3,6 +3,6 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/sbin/collectd -C /etc/collectd/collectd.conf
|
||||
{% if pillar[collectd][service][caps] is defined %}
|
||||
{% if salt.pillar.get('collectd:service:caps', False) != False %}
|
||||
CapabilityBoundingSet={{ salt.pillar.get('collectd:service:caps', [])|join(" ") }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user