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-07-22 13:11:24 +02:00
|
|
|
# Ensure we really allow ICMPv6 on FEDORA (or firewalld). Also other essential services.
|
2024-04-26 09:30:39 +02:00
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-protocol=ipv6-icmp
|
2024-07-22 13:11:24 +02:00
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=ssh --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=mosh --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=ntp --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=syncthing --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=mdns --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --add-service=kdeconnect --permanent
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --permanent --add-port=9001/udp
|
|
|
|
ExecStart=-/usr/bin/firewall-cmd --permanent --add-port=6771/udp
|
2024-04-26 09:30:39 +02:00
|
|
|
# 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
|
2024-07-22 13:11:24 +02:00
|
|
|
ExecStart=-/usr/bin/systemctl enable --now yggdrasil.service
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now sshguard.service
|
2024-04-26 09:30:39 +02:00
|
|
|
User=root
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|