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
|
2024-10-04 12:21:21 +02:00
|
|
|
# Remember `systemd-path search-binaries-default`
|
2024-04-26 12:16:33 +02:00
|
|
|
# - means it can fail, without failing those after it
|
|
|
|
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
2024-10-04 12:21:21 +02:00
|
|
|
ExecStartPre=-systemctl enable --now aminda-nocron-reboot.service
|
|
|
|
ExecStartPre=-systemctl enable --now aminda-nocron-reboot.timer
|
|
|
|
ExecStartPre=-systemctl enable --now monthly-btrfs-balance.timer
|
|
|
|
ExecStartPre=-sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
ExecStartPre=-systemctl enable --now tlp
|
|
|
|
ExecStart=-systemctl restart yggdrasil.service
|
|
|
|
ExecStart=-firewall-cmd --reload
|
2024-04-26 15:13:39 +02:00
|
|
|
# If they somehow managed to not start already
|
2024-10-04 12:21:21 +02:00
|
|
|
ExecStart=-systemctl enable --now unbound.service
|
|
|
|
ExecStart=-systemctl enable --now systemd-resolved.service
|
|
|
|
ExecStart=-tlp setcharge
|
2024-04-26 12:16:33 +02:00
|
|
|
User=root
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|