blob: 2d766488e6998c1d834bb8a8bea35373ddab04d0 [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
Brad Bishop2d39a062019-10-28 08:33:36 -04007PIDFile=/run/radiusd/radiusd.pid
8ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd /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