File: //lib/systemd/system/mcollective.service
#
# Local settings can be configured without being overwritten by package upgrades, for example
# if you want to increase mcollective open-files-limit to 10000,
# you need to increase systemd's LimitNOFILE setting, so create a file named
# "/etc/systemd/system/mcollective.service.d/limits.conf" containing:
# [Service]
# LimitNOFILE=10000
# You can confirm it worked by running systemctl daemon-reload
# then running systemctl show mcollective | grep LimitNOFILE
#
[Unit]
Description=The Marionette Collective
After=network.target
[Service]
Type=forking
StandardOutput=syslog
StandardError=syslog
ExecStart=/opt/puppetlabs/puppet/bin/mcollectived --config=/etc/puppetlabs/mcollective/server.cfg --pidfile=/run/puppetlabs/mcollective.pid --daemonize
ExecReload=/bin/kill -USR1 $MAINPID
PIDFile=/run/puppetlabs/mcollective.pid
KillMode=process
[Install]
WantedBy=multi-user.target