claranet / puppet-consul_template

A Puppet module to manage the config and jobs of Consul Template from Hashicorp
Apache License 2.0
30 stars 89 forks source link

custom systemd unit files should always go in /etc, not lib #125

Open alwaysjolley opened 5 years ago

alwaysjolley commented 5 years ago

Simple fix for systemd unit file management. Systemd best practices are to use /etc/systemd/system for any custom unit files. Unit files in /etc override any existing /lib unit files and prevent package changes from interfering with your custom unit file.