blob: 8dae0df5bdb938b51bcf7af3de9e0f485b79d777 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001[Unit]
2Description=FreeRADIUS high performance RADIUS server.
3After=syslog.target network.target
4
5[Service]
6Type=forking
7PIDFile=@STATEDIR@/run/radiusd/radiusd.pid
8ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd @STATEDIR@/run/radiusd
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009ExecStartPre=@SBINDIR@/radiusd -C
10ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb
11ExecReload=@SBINDIR@/radiusd -C
12ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
13
14[Install]
15WantedBy=multi-user.target