mint.yml aktualisiert
This commit is contained in:
parent
a77980db94
commit
eb2f436d5b
9
mint.yml
9
mint.yml
@ -92,18 +92,17 @@
|
||||
block: |
|
||||
[Unit]
|
||||
Description=Mint Upgrade Service
|
||||
# star after and on shutdown dont stop before script has terminated
|
||||
After=network.target dnscrypt-proxy.service systemd-resolved.service sshd.service tor@default.service
|
||||
#Requires=multi-user.target network.target network-online.target nss-lookup.target docker.service systemd-resolved.service sshd.service dnscrypt-proxy.service tor@default.service
|
||||
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
#RemainAfterExit=true
|
||||
ExecStart=bash -x /usr/local/sbin/mint-config-update.sh
|
||||
#ExecStop=bash -c "until ! test -e /run/mint-config-update.sh.lock; do sleep 2; done"
|
||||
# Wait for "normal" exit of the script SIGCONT doesnt kill/terminate it
|
||||
KillSignal=SIGCONT
|
||||
# wait a maximum of 30 minutes
|
||||
TimeoutStopSec=1800
|
||||
#Restart=no
|
||||
StandardOutput=append:/var/log/mint-config-update.sh.log
|
||||
StandardError=append:/var/log/mint-config-update.sh.log
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user