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: |
[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