diff --git a/etc/systemd/system/aminda-nocron-reboot.service b/etc/systemd/system/aminda-nocron-reboot.service index c699df49..8f40a3a3 100644 --- a/etc/systemd/system/aminda-nocron-reboot.service +++ b/etc/systemd/system/aminda-nocron-reboot.service @@ -5,8 +5,10 @@ Wants=sysctl-p--system.service [Service] Type=oneshot TimeoutStartSec=infinity -# - means it can fail, without failing those after it -# I always want DNS. +# - means it can fail, without failing those after it. +# 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 systemd-resolved.service ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 diff --git a/etc/systemd/system/aminda-nocron-rebootish.service b/etc/systemd/system/aminda-nocron-rebootish.service index 71811c53..bd6c333c 100644 --- a/etc/systemd/system/aminda-nocron-rebootish.service +++ b/etc/systemd/system/aminda-nocron-rebootish.service @@ -6,6 +6,8 @@ Type=oneshot TimeoutStartSec=infinity # - means it can fail, without failing those after it # 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/bin/systemctl enable --now tlp ExecStart=-/usr/bin/systemctl restart yggdrasil.service