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