summaryrefslogtreecommitdiff
path: root/community/freeradius/freeradius.service
blob: 220d352af3a6db8244fa6c991e3f3794c0d528ea (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=/run/radiusd/radiusd.pid
ExecStartPre=-/bin/chown -R radiusd.radiusd /run/radiusd
ExecStartPre=/usr/bin/radiusd -C
ExecStart=/usr/bin/radiusd -d /etc/raddb
ExecReload=/usr/bin/radiusd -C
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target