2024-04-26 09:30:39 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Aminda's cronless boot tasks
|
2024-05-01 09:22:57 +02:00
|
|
|
Wants=sysctl-p--system.service
|
2024-04-26 09:30:39 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
TimeoutStartSec=infinity
|
|
|
|
# - means it can fail, without failing those after it
|
2024-04-26 10:08:15 +02:00
|
|
|
# I always want DNS.
|
|
|
|
ExecStartPre=-/usr/bin/systemctl enable --now unbound.service
|
|
|
|
ExecStartPre=-/usr/bin/systemctl enable --now systemd-resolved.service
|
2024-04-26 12:16:33 +02:00
|
|
|
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
|
2024-04-26 09:30:39 +02:00
|
|
|
# These services are called here, so
|
|
|
|
ExecStartPre=-/usr/bin/systemctl start firewalld.service
|
2024-04-30 17:59:45 +02:00
|
|
|
# https://github.com/systemd/zram-generator
|
2024-05-01 09:38:54 +02:00
|
|
|
#ExecStart=-/usr/bin/systemctl start /dev/zram0
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now systemd-zram-setup@zram0.service
|
2024-04-26 09:30:39 +02:00
|
|
|
# Ensure we really allow ICMPv6 on FEDORA (or firewalld)
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-protocol=ipv6-icmp
|
|
|
|
# 3rd party Xbox controller initialization. See Mikaela/gist/gayming/
|
|
|
|
#ExecStart=-/root/fixcontroller.py
|
2024-04-26 12:16:33 +02:00
|
|
|
# This is actually in the delayed variant of this service, but anyway
|
|
|
|
ExecStart=-/usr/bin/systemctl start yggdrasil.service
|
2024-04-26 09:30:39 +02:00
|
|
|
User=root
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|