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 |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame^] | 7 | PIDFile=/run/radiusd/radiusd.pid |
| 8 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd /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 |