From 6dad6796df5f214933f5b7c6a08e79bf192376a7 Mon Sep 17 00:00:00 2001 From: Dan Kelleher Date: Wed, 2 Sep 2015 09:34:42 -0400 Subject: [PATCH] Fix one-contextd and deb/rpm init.d One-contextd was missing a call to the start function. The init.d scripts were calling one-context not one-contextd --- base/usr/sbin/one-contextd | 4 +++- base_arch/usr/lib/systemd/system/one-context.service | 2 +- base_deb/etc/init.d/vmcontext | 2 +- base_rpm/etc/init.d/vmcontext | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/base/usr/sbin/one-contextd b/base/usr/sbin/one-contextd index bfd0486..896b73f 100755 --- a/base/usr/sbin/one-contextd +++ b/base/usr/sbin/one-contextd @@ -55,4 +55,6 @@ function start { execute_scripts fi -} \ No newline at end of file +} + +start \ No newline at end of file diff --git a/base_arch/usr/lib/systemd/system/one-context.service b/base_arch/usr/lib/systemd/system/one-context.service index d4f6ccc..95dea34 100644 --- a/base_arch/usr/lib/systemd/system/one-context.service +++ b/base_arch/usr/lib/systemd/system/one-context.service @@ -14,7 +14,7 @@ After=org.freedesktop.network1.busname [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/usr/sbin/one-contextd start +ExecStart=/usr/sbin/one-contextd StandardOutput=syslog StandardError=syslog SyslogIdentifier=one-context diff --git a/base_deb/etc/init.d/vmcontext b/base_deb/etc/init.d/vmcontext index 61d30de..7e8a15a 100755 --- a/base_deb/etc/init.d/vmcontext +++ b/base_deb/etc/init.d/vmcontext @@ -33,7 +33,7 @@ case "$1" in "start") - /usr/sbin/one-context start + /usr/sbin/one-contextd esac diff --git a/base_rpm/etc/init.d/vmcontext b/base_rpm/etc/init.d/vmcontext index b2c6a47..2f55f79 100755 --- a/base_rpm/etc/init.d/vmcontext +++ b/base_rpm/etc/init.d/vmcontext @@ -32,7 +32,7 @@ case "$1" in "start") - /usr/sbin/one-context start + /usr/sbin/one-contextd esac