From 0ea11195ee722a69bd25354a94dd2e39f643de91 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 29 Nov 2018 02:04:47 +0100 Subject: [PATCH] adding killmode to keep presync script running --- home.admin/_bootstrap.presync.sh | 2 -- home.admin/assets/bootstrap.service | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/home.admin/_bootstrap.presync.sh b/home.admin/_bootstrap.presync.sh index 122abcb2..4fb32dcf 100644 --- a/home.admin/_bootstrap.presync.sh +++ b/home.admin/_bootstrap.presync.sh @@ -1,7 +1,5 @@ #!/bin/bash -echo "presync: background script started" >> $logFile - # This script runs on every start calles by boostrap.service # It makes sure that the system is configured like the # default values or as in the config. diff --git a/home.admin/assets/bootstrap.service b/home.admin/assets/bootstrap.service index 6e577abc..dbc96dcf 100644 --- a/home.admin/assets/bootstrap.service +++ b/home.admin/assets/bootstrap.service @@ -10,6 +10,7 @@ User=root Group=root Type=oneshot ExecStart=/home/admin/_bootstrap.sh +KillMode=process StandardOutput=journal [Install]