mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 20:47:05 +00:00
radiusd.service references a legacy path for its PIDFile, which results in a warning at boot: systemd[1]: /lib/systemd/system/radiusd.service:7: PIDFile= references a path below legacy directory /var/run/, updating /var/run/radiusd/radiusd.pid → /run/radiusd/radiusd.pid; please update the unit file accordingly. Modify the recipe's radiusd.service file to use the correct path. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 lines
418 B
Desktop File
16 lines
418 B
Desktop File
[Unit]
|
|
Description=FreeRADIUS high performance RADIUS server.
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/run/radiusd/radiusd.pid
|
|
ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd /run/radiusd
|
|
ExecStartPre=@SBINDIR@/radiusd -C
|
|
ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb
|
|
ExecReload=@SBINDIR@/radiusd -C
|
|
ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|