Skip to contentSkip to conversation

freeradius: update radiusd.service

PATCH New [email protected] 1 participant 1 message Feb 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freeradius: update radiusd.service

From: Changqing Li <[email protected]>

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.

---
 meta-networking/recipes-connectivity/freeradius/files/radiusd.service | 1 -
 1 file changed, 1 deletion(-)
meta-networking/recipes-connectivity/freeradius/files/radiusd.service +0 -1
index 899c4e4..8dae0df 100644
@@ -6,7 +6,6 @@ After=syslog.target network.target
 Type=forking
 PIDFile=@STATEDIR@/run/radiusd/radiusd.pid
 ExecStartPre=-@BASE_BINDIR@/chown -R radiusd.radiusd @STATEDIR@/run/radiusd
-ExecStartPre=-@BASE_BINDIR@/sh -c "if [ ! -f @SYSCONFDIR@/raddb/certs/server.pem ]; then sudo -u radiusd @SYSCONFDIR@/raddb/certs/bootstrap; fi"
 ExecStartPre=@SBINDIR@/radiusd -C
 ExecStart=@SBINDIR@/radiusd -d @SYSCONFDIR@/raddb
 ExecReload=@SBINDIR@/radiusd -C
Signature · 1 line
2.7.4