diff options
Diffstat (limited to 'app-admin/puppet-agent/files/puppet.service')
-rw-r--r-- | app-admin/puppet-agent/files/puppet.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/puppet-agent/files/puppet.service b/app-admin/puppet-agent/files/puppet.service new file mode 100644 index 000000000000..61b03134b331 --- /dev/null +++ b/app-admin/puppet-agent/files/puppet.service @@ -0,0 +1,14 @@ +[Unit] +Description=Puppet agent +Wants=basic.target +After=basic.target network.target + +[Service] +EnvironmentFile=-/etc/sysconfig/puppetagent +EnvironmentFile=-/etc/sysconfig/puppet +EnvironmentFile=-/etc/default/puppet +ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize +KillMode=process + +[Install] +WantedBy=multi-user.target |