exherbo-denkn/packages/sys-auth/munge/files/systemd/munge.service

20 lines
560 B
SYSTEMD
Raw Normal View History

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]
Type=forking
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
ExecStart=/usr/sbin/munged
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/munge/munged.pid
[Install]
WantedBy=multi-user.target