mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
aminda-nocron: ensure at least one of these runs sometime
This commit is contained in:
parent
b3e2989c19
commit
70b7380e8f
@ -5,8 +5,10 @@ Wants=sysctl-p--system.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
TimeoutStartSec=infinity
|
TimeoutStartSec=infinity
|
||||||
# - means it can fail, without failing those after it
|
# - means it can fail, without failing those after it.
|
||||||
# I always want DNS.
|
# These aren't given --now as THEY WOULD INFINITE LOOP.
|
||||||
|
ExecStartPre=-/usr/bin/systemctl enable aminda-nocron-rebootish.service
|
||||||
|
ExecStartPre=-/usr/bin/systemctl enable aminda-nocron-rebootish.timer
|
||||||
ExecStartPre=-/usr/bin/systemctl enable --now unbound.service
|
ExecStartPre=-/usr/bin/systemctl enable --now unbound.service
|
||||||
ExecStartPre=-/usr/bin/systemctl enable --now systemd-resolved.service
|
ExecStartPre=-/usr/bin/systemctl enable --now systemd-resolved.service
|
||||||
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
||||||
|
@ -6,6 +6,8 @@ Type=oneshot
|
|||||||
TimeoutStartSec=infinity
|
TimeoutStartSec=infinity
|
||||||
# - means it can fail, without failing those after it
|
# - means it can fail, without failing those after it
|
||||||
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
||||||
|
ExecStartPre=-/usr/bin/systemctl enable --now aminda-nocron-reboot.service
|
||||||
|
ExecStartPre=-/usr/bin/systemctl enable --now aminda-nocron-reboot.timer
|
||||||
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
||||||
ExecStartPre=-/usr/bin/systemctl enable --now tlp
|
ExecStartPre=-/usr/bin/systemctl enable --now tlp
|
||||||
ExecStart=-/usr/bin/systemctl restart yggdrasil.service
|
ExecStart=-/usr/bin/systemctl restart yggdrasil.service
|
||||||
|
Loading…
Reference in New Issue
Block a user