diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-02-27 11:04:01 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-02-27 18:26:55 -0800 |
commit | 07a8af9a1bfa18a1f612378c4da516958fc30fd5 (patch) | |
tree | dcee2703bff6540fe8cca34708cd67d16ca90b64 /meta-networking | |
parent | ee1b9e4dda413751dffe8630fde6626f51b5c5b7 (diff) | |
download | meta-openembedded-07a8af9a1bfa18a1f612378c4da516958fc30fd5.tar.gz |
freeradius: update radiusd.service
Update radiusd.service that not run script /etc/raddb/certs/bootstrap
before start radiusd. The script makes a set of default certificates. It
should be only used for test purpose.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/radiusd.service | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service index 899c4e495..8dae0df5b 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/radiusd.service +++ b/meta-networking/recipes-connectivity/freeradius/files/radiusd.service | |||
@@ -6,7 +6,6 @@ After=syslog.target network.target | |||
6 | Type=forking | 6 | Type=forking |
7 | PIDFile=@STATEDIR@/run/radiusd/radiusd.pid | 7 | PIDFile=@STATEDIR@/run/radiusd/radiusd.pid |
8 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd @STATEDIR@/run/radiusd | 8 | ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd @STATEDIR@/run/radiusd |
9 | ExecStartPre=-@BASE_BINDIR@/sh -c "if [ ! -f @SYSCONFDIR@/raddb/certs/server.pem ]; then sudo -u radiusd @SYSCONFDIR@/raddb/certs/bootstrap; fi" | ||
10 | ExecStartPre=@SBINDIR@/radiusd -C | 9 | ExecStartPre=@SBINDIR@/radiusd -C |
11 | ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb | 10 | ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb |
12 | ExecReload=@SBINDIR@/radiusd -C | 11 | ExecReload=@SBINDIR@/radiusd -C |