From 06c6a017d59028bb5378b57a609100728b4d1ce5 Mon Sep 17 00:00:00 2001 From: Matt Darfeuille Date: Mon, 20 Feb 2017 18:52:11 +0100 Subject: [PATCH] Use a specific parameter file for systemd script Signed-off-by: Matt Darfeuille Signed-off-by: Tom Eastep --- Shorewall-core/shorewallrc.debian.systemd | 2 +- Shorewall-lite/default.debian.systemd | 26 +++++++++++++++++++++++ Shorewall/default.debian.systemd | 26 +++++++++++++++++++++++ Shorewall6-lite/default.debian.systemd | 26 +++++++++++++++++++++++ Shorewall6/default.debian.systemd | 26 +++++++++++++++++++++++ 5 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 Shorewall-lite/default.debian.systemd create mode 100644 Shorewall/default.debian.systemd create mode 100644 Shorewall6-lite/default.debian.systemd create mode 100644 Shorewall6/default.debian.systemd diff --git a/Shorewall-core/shorewallrc.debian.systemd b/Shorewall-core/shorewallrc.debian.systemd index 184573101..4557c5670 100644 --- a/Shorewall-core/shorewallrc.debian.systemd +++ b/Shorewall-core/shorewallrc.debian.systemd @@ -14,7 +14,7 @@ INITDIR= #Directory where SysV init scripts are installed. INITFILE= #Name of the product's installed SysV init script INITSOURCE=init.debian.sh #Name of the distributed file to be installed as the SysV init script ANNOTATED= #If non-zero, annotated configuration files are installed -SYSCONFFILE=default.debian #Name of the distributed file to be installed in $SYSCONFDIR +SYSCONFFILE=default.debian.systemd #Name of the distributed file to be installed in $SYSCONFDIR SERVICEFILE=$PRODUCT.service.debian #Name of the file to install in $SYSTEMD. Default is $PRODUCT.service SYSCONFDIR=/etc/default #Directory where SysV init parameter files are installed SERVICEDIR=/lib/systemd/system #Directory where .service files are installed (systems running systemd only) diff --git a/Shorewall-lite/default.debian.systemd b/Shorewall-lite/default.debian.systemd new file mode 100644 index 000000000..8f708f81d --- /dev/null +++ b/Shorewall-lite/default.debian.systemd @@ -0,0 +1,26 @@ +# +# Global start/restart/reload/stop options +# +OPTIONS="" + +# +# Start options +# +STARTOPTIONS="" + +# +# Restart options +# +RESTARTOPTIONS="" + +# +# Reload options +# +RELOADOPTIONS="" + +# +# Stop options +# +STOPOPTIONS="" + +# EOF diff --git a/Shorewall/default.debian.systemd b/Shorewall/default.debian.systemd new file mode 100644 index 000000000..8f708f81d --- /dev/null +++ b/Shorewall/default.debian.systemd @@ -0,0 +1,26 @@ +# +# Global start/restart/reload/stop options +# +OPTIONS="" + +# +# Start options +# +STARTOPTIONS="" + +# +# Restart options +# +RESTARTOPTIONS="" + +# +# Reload options +# +RELOADOPTIONS="" + +# +# Stop options +# +STOPOPTIONS="" + +# EOF diff --git a/Shorewall6-lite/default.debian.systemd b/Shorewall6-lite/default.debian.systemd new file mode 100644 index 000000000..8f708f81d --- /dev/null +++ b/Shorewall6-lite/default.debian.systemd @@ -0,0 +1,26 @@ +# +# Global start/restart/reload/stop options +# +OPTIONS="" + +# +# Start options +# +STARTOPTIONS="" + +# +# Restart options +# +RESTARTOPTIONS="" + +# +# Reload options +# +RELOADOPTIONS="" + +# +# Stop options +# +STOPOPTIONS="" + +# EOF diff --git a/Shorewall6/default.debian.systemd b/Shorewall6/default.debian.systemd new file mode 100644 index 000000000..8f708f81d --- /dev/null +++ b/Shorewall6/default.debian.systemd @@ -0,0 +1,26 @@ +# +# Global start/restart/reload/stop options +# +OPTIONS="" + +# +# Start options +# +STARTOPTIONS="" + +# +# Restart options +# +RESTARTOPTIONS="" + +# +# Reload options +# +RELOADOPTIONS="" + +# +# Stop options +# +STOPOPTIONS="" + +# EOF