summaryrefslogtreecommitdiff
path: root/community/freeradius/freeradius.service
blob: 635b6d6f8db196a5db82189add206c75b3f9a55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=FreeRADIUS high performance RADIUS server.
After=syslog.target network.target

[Service]
Type=forking
PIDFile=/var/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