/[smeserver]/rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11113-bz11155-systemd-update.patch
ViewVC logotype

Diff of /rpms/e-smith-radiusd/sme10/e-smith-radiusd-2.6.0-bz11113-bz11155-systemd-update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Wed Dec 9 02:39:42 2020 UTC Revision 1.2 by jpp, Sat Jan 2 05:36:24 2021 UTC
# Line 89  diff -Nur e-smith-radiusd-2.6.0.old/root Line 89  diff -Nur e-smith-radiusd-2.6.0.old/root
89  +copy("/home/e-smith/ssl.pem/$s.$d.pem", "$pem.$$")  +copy("/home/e-smith/ssl.pem/$s.$d.pem", "$pem.$$")
90  +  or die "failed to copy SSL PEM: $!";  +  or die "failed to copy SSL PEM: $!";
91  +chmod 0640, "$pem.$$";  +chmod 0640, "$pem.$$";
92  +esmith::util::chownFile("root", "stunnel", "$pem.$$");  +esmith::util::chownFile("root", "radiusd", "$pem.$$");
93  +rename("$pem.$$", "$pem")  +rename("$pem.$$", "$pem")
94  +  or die "failed to rename $pem.$$ to $pem: $!";  +  or die "failed to rename $pem.$$ to $pem: $!";
95  +  +
# Line 118  diff -Nur e-smith-radiusd-2.6.0.old/root Line 118  diff -Nur e-smith-radiusd-2.6.0.old/root
118  +ExecStartPre=/sbin/e-smith/systemd/radiusd-certificate  +ExecStartPre=/sbin/e-smith/systemd/radiusd-certificate
119  +ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd  +ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd
120  +ExecStartPre=/usr/sbin/radiusd -C  +ExecStartPre=/usr/sbin/radiusd -C
121  +  +Restart=always
122  +  +
123  +[Install]  +[Install]
124  +WantedBy=sme-server.target  +WantedBy=sme-server.target


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed