[ovs-dev] [PATCH] debian: Add SYSTEMCTL_SKIP_REDIRECT to init files
Guru Shetty
guru at ovn.org
Tue May 30 16:25:47 UTC 2017
On 24 May 2017 at 12:56, root <ray at oneunified.net> wrote:
> From: Raymond Burkholder <ray at oneunified.net>
>
> Current versions of systemd in Debian Stretch use
> SYSTEMCTL_SKIP_REDIRECT instead of _SYSTEMCTL_SKIP_REDIRECT.
> Provide both variables in the .init files.
>
> Signed-off-by: Raymond Burkholder <ray at oneunified.net>
> Suggested-by: Guru Shetty <guru at ovn.org>
>
I added you to AUTHORS and applied this to master and backported all the
way back to 2.3
> ---
> debian/openvswitch-switch.init | 1 +
> debian/ovn-central.init | 1 +
> debian/ovn-controller-vtep.init | 1 +
> debian/ovn-host.init | 1 +
> 4 files changed, 4 insertions(+)
>
> diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.
> init
> index 1e94015d1..5c7c08b3a 100755
> --- a/debian/openvswitch-switch.init
> +++ b/debian/openvswitch-switch.init
> @@ -28,6 +28,7 @@
> (test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) ||
> exit 0
>
> _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>
> . /usr/share/openvswitch/scripts/ovs-lib
> test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-
> switch
> diff --git a/debian/ovn-central.init b/debian/ovn-central.init
> index 0c5b09e6a..60cee95a3 100755
> --- a/debian/ovn-central.init
> +++ b/debian/ovn-central.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-northd || exit 0
> test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>
> _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>
> . /usr/share/openvswitch/scripts/ovs-lib
> if [ -e /etc/default/ovn-central ]; then
> diff --git a/debian/ovn-controller-vtep.init b/debian/ovn-controller-vtep.
> init
> index acba3297d..be0a24358 100755
> --- a/debian/ovn-controller-vtep.init
> +++ b/debian/ovn-controller-vtep.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-controller-vtep || exit 0
> test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>
> _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>
> . /usr/share/openvswitch/scripts/ovs-lib
> if [ -e /etc/default/ovn-controller-vtep ]; then
> diff --git a/debian/ovn-host.init b/debian/ovn-host.init
> index bddf62815..39c3bcf16 100755
> --- a/debian/ovn-host.init
> +++ b/debian/ovn-host.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-controller || exit 0
> test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>
> _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>
> . /usr/share/openvswitch/scripts/ovs-lib
> if [ -e /etc/default/ovn-host ]; then
> --
> 2.11.0
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
More information about the dev
mailing list