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 |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 7 | EnvironmentFile=-/etc/sysconfig/radiusd |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 8 | PIDFile=/run/radiusd/radiusd.pid |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 9 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd:radiusd /run/radiusd |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | ExecStartPre=@SBINDIR@/radiusd -C |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 11 | ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/${MLPREFIX}raddb |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | ExecReload=@SBINDIR@/radiusd -C |
| 13 | ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |