diff options
| author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2019-10-18 08:19:45 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-10-21 04:41:24 -0700 |
| commit | 9ab4e11fd4534e06f5277ca6bae17d2a9c70641d (patch) | |
| tree | fe7ffe1a4c33addc33a5f39448c2ebc892f33320 | |
| parent | 5eca649bc68204fd44591f5c621a30b2e66b431b (diff) | |
| download | meta-openembedded-9ab4e11fd4534e06f5277ca6bae17d2a9c70641d.tar.gz | |
freeradius: fix PIDFile path in radiusd.service file
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>
| -rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/radiusd.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service index 8dae0df5bd..2d766488e6 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service +++ b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service | |||
| @@ -4,8 +4,8 @@ After=syslog.target network.target | |||
| 4 | 4 | ||
| 5 | [Service] | 5 | [Service] |
| 6 | Type=forking | 6 | Type=forking |
| 7 | PIDFile=@STATEDIR@/run/radiusd/radiusd.pid | 7 | PIDFile=/run/radiusd/radiusd.pid |
| 8 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd @STATEDIR@/run/radiusd | 8 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd /run/radiusd |
| 9 | ExecStartPre=@SBINDIR@/radiusd -C | 9 | ExecStartPre=@SBINDIR@/radiusd -C |
| 10 | ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb | 10 | ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb |
| 11 | ExecReload=@SBINDIR@/radiusd -C | 11 | ExecReload=@SBINDIR@/radiusd -C |
