2015-03-22 21:42:05 +01:00
|
|
|
# SystemD File for munged
|
|
|
|
# Steve Traylen <steve.traylen@cern.ch> & Denis Knauf
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=An authentication service for creating and validating credentials
|
|
|
|
After=syslog.target auditd.service network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=munge
|
|
|
|
# Start up will fail if /etc/munge/munge.key does not exist
|
|
|
|
# A fresh key can be generated with /usr/sbin/create-munge-key
|
|
|
|
ExecStartPre=/usr/bin/test -r /etc/munge/munge.key
|
2015-03-23 13:56:59 +01:00
|
|
|
ExecStart=/usr/sbin/munged -fF
|
2015-03-22 21:42:05 +01:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
PIDFile=/var/run/munge/munged.pid
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|