Browse Source

adding killmode to keep presync script running

#146
rootzoll 6 years ago
parent
commit
0ea11195ee
  1. 2
      home.admin/_bootstrap.presync.sh
  2. 1
      home.admin/assets/bootstrap.service

2
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.

1
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]

Loading…
Cancel
Save