2024-04-26 12:16:33 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Aminda's cronless tasks to do a bit after booting
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
TimeoutStartSec=infinity
|
|
|
|
# - means it can fail, without failing those after it
|
|
|
|
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
2024-07-23 16:29:53 +02:00
|
|
|
ExecStartPre=-/usr/bin/systemctl enable --now aminda-nocron-reboot.service
|
|
|
|
ExecStartPre=-/usr/bin/systemctl enable --now aminda-nocron-reboot.timer
|
2024-04-26 12:16:33 +02:00
|
|
|
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
2024-07-23 07:49:18 +02:00
|
|
|
ExecStartPre=-/usr/bin/systemctl enable --now tlp
|
2024-04-26 12:16:33 +02:00
|
|
|
ExecStart=-/usr/bin/systemctl restart yggdrasil.service
|
2024-07-22 13:11:24 +02:00
|
|
|
ExecStart=-/bin/firewall-cmd --reload
|
2024-04-26 15:13:39 +02:00
|
|
|
# If they somehow managed to not start already
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now unbound.service
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now systemd-resolved.service
|
2024-07-12 11:51:55 +02:00
|
|
|
ExecStart=-/usr/sbin/tlp setcharge
|
2024-04-26 12:16:33 +02:00
|
|
|
User=root
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|