diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update --- smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 13:59:37.111200955 +0100 +++ smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 14:02:43.040218470 +0100 @@ -18,6 +18,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #---------------------------------------------------------------------- +# Feb 2025 this needs updating for systemd + # Note that we do not need to use the init ipsec script - we can start and # stop directly using /usr/sbin/ipsec which will call the init script @@ -240,7 +242,7 @@ } print "Ipsec Information - ipsec enabled - Starting ipsec\n "; - my $myStartConnection = qx(/etc/rc.d/init.d/ipsec start); + my $myStartConnection = qx(/usr/sbin/ipsec start); die("Ipsec Error - Unable to launch ipsec start : $!\n ") if not defined $myStartConnection; die("Ipsec Error - Unable to launch ipsec start ( error code $?)\n ") if $?;