mint.yml aktualisiert

This commit is contained in:
olli 2023-08-11 13:23:46 +02:00
parent d317bf12e4
commit a77980db94

View File

@ -93,17 +93,17 @@
[Unit] [Unit]
Description=Mint Upgrade Service Description=Mint Upgrade Service
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 #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 #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" #ExecStop=bash -c "until ! test -e /run/mint-config-update.sh.lock; do sleep 2; done"
KillSignal=SIGCONT KillSignal=SIGCONT
TimeoutStopSec=1800 TimeoutStopSec=1800
Restart=no #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