freeradius/radiusd.service

18 lines
562 B
SYSTEMD
Raw Normal View History

2011-09-08 18:45:31 +00:00
[Unit]
Description=FreeRADIUS high performance RADIUS server.
After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.service
2011-09-08 18:45:31 +00:00
[Service]
Type=forking
PIDFile=/var/run/radiusd/radiusd.pid
2011-09-08 18:45:31 +00:00
ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd
ExecStartPre=/bin/sh /etc/raddb/certs/bootstrap create-only
ExecStartPre=/bin/chgrp -R radiusd /etc/raddb/certs/
2011-09-08 18:45:31 +00:00
ExecStartPre=/usr/sbin/radiusd -C
ExecStart=/usr/sbin/radiusd -d /etc/raddb
ExecReload=/usr/sbin/radiusd -C
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target