Hi,

Looks like the systemd service file for shorewall-init has wrong Exec
Start|Stop directory. The attached patch corrects this

Thanks

Togan

>From 3d40b7fab437cf8a8bb28a183e7198994188625b Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <[email protected]>
Date: Mon, 1 Jul 2013 00:22:11 +0200
Subject: [PATCH] Fix Exec directory

ExecStart and Execstart should be /sbin

Signed-off-by: Togan Muftuoglu <[email protected]>
---
 Shorewall-init/shorewall-init.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Shorewall-init/shorewall-init.service b/Shorewall-init/shorewall-init.service
index ab3b499..3ac5c19 100644
--- a/Shorewall-init/shorewall-init.service
+++ b/Shorewall-init/shorewall-init.service
@@ -13,8 +13,8 @@ Type=oneshot
 RemainAfterExit=yes
 EnvironmentFile=-/etc/sysconfig/shorewall-init
 StandardOutput=syslog
-ExecStart=/shorewall-init $OPTIONS start
-ExecStop=/shorewall-init $OPTIONS stop
+ExecStart=/sbin/shorewall-init $OPTIONS start
+ExecStop=/sbin/shorewall-init $OPTIONS stop
 
 [Install]
 WantedBy=multi-user.target
-- 
1.8.3

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to