mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-24 20:19:40 +01:00
27 lines
926 B
Desktop File
27 lines
926 B
Desktop File
[Unit]
|
|
Description=Aminda's cronless tasks to do a bit after booting
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
TimeoutStartSec=infinity
|
|
# Remember `systemd-path search-binaries-default`
|
|
# - means it can fail, without failing those after it
|
|
# Another attempt at ensuring Yggdrasil works with nordvpnd
|
|
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
|
|
# If they somehow managed to not start already
|
|
ExecStart=-systemctl enable --now unbound.service
|
|
ExecStart=-systemctl enable --now systemd-resolved.service
|
|
ExecStart=-tlp setcharge
|
|
User=root
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|