From 14fec8b3baf7ea8ebb7fd76c2f2f504976726e5d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 20 Oct 2011 14:01:05 +0200 Subject: [PATCH] Upstart-Startscript korrigieren MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 1. Der Daemon braucht "start" als Argument, um zu starten. 2. Damit Upstart den Dienst richtig beenden kann, sollte er nicht forken sondern Upstart selber das Forken übernehmen. --- scripts/boot/upstart/lx-office-task-server.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/boot/upstart/lx-office-task-server.conf b/scripts/boot/upstart/lx-office-task-server.conf index 0bf69cfe5..fa00ba22a 100644 --- a/scripts/boot/upstart/lx-office-task-server.conf +++ b/scripts/boot/upstart/lx-office-task-server.conf @@ -5,9 +5,8 @@ description "Lx-Office task server" start on runlevel [2345] stop on runlevel [!2345] -expect fork respawn # Adjust path -exec /opt/lx-office/scripts/task_server.pl +exec /opt/lx-office/scripts/task_server.pl -f start -- 2.20.1