mint.yml aktualisiert

This commit is contained in:
olli 2023-08-11 13:34:28 +02:00
parent a77980db94
commit eb2f436d5b

View File

@ -92,18 +92,17 @@
block: | block: |
[Unit] [Unit]
Description=Mint Upgrade Service 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 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] [Service]
Type=oneshot Type=oneshot
User=root User=root
#RemainAfterExit=true
ExecStart=bash -x /usr/local/sbin/mint-config-update.sh 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 KillSignal=SIGCONT
# wait a maximum of 30 minutes
TimeoutStopSec=1800 TimeoutStopSec=1800
#Restart=no
StandardOutput=append:/var/log/mint-config-update.sh.log StandardOutput=append:/var/log/mint-config-update.sh.log
StandardError=append:/var/log/mint-config-update.sh.log StandardError=append:/var/log/mint-config-update.sh.log