freeradius/radiusd.service
Antonio Torres d32a01afd5 Move systemd unit PIDFile from /var/run to /run
Resolves: #2006368
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-09-27 13:55:25 +02:00

16 lines
494 B
Desktop File

[Unit]
Description=FreeRADIUS high performance RADIUS server.
After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.service mysql.service mariadb.service postgresql.service
[Service]
Type=forking
PIDFile=/run/radiusd/radiusd.pid
ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd
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