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
|
2024-07-28 12:04:57 +02:00
|
|
|
Environment=LINUXBREWGROUP=wheel
|
2024-07-23 16:29:53 +02:00
|
|
|
# - means it can fail, without failing those after it.
|
|
|
|
# These aren't given --now as THEY WOULD INFINITE LOOP.
|
|
|
|
ExecStartPre=-/usr/bin/systemctl enable aminda-nocron-rebootish.service
|
|
|
|
ExecStartPre=-/usr/bin/systemctl enable aminda-nocron-rebootish.timer
|
2024-04-26 10:08:15 +02:00
|
|
|
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
|
2024-07-23 07:49:18 +02:00
|
|
|
ExecStart=-/usr/bin/systemctl enable --now ssh.service
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now sshd.service
|
2024-07-22 13:11:24 +02:00
|
|
|
ExecStart=-/usr/bin/systemctl enable --now sshguard.service
|
2024-07-23 07:49:18 +02:00
|
|
|
ExecStart=-/usr/bin/systemctl enable --now unbound.service
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now chrony.service
|
|
|
|
ExecStart=-/usr/bin/systemctl enable --now chronyd.service
|
2024-07-28 12:04:57 +02:00
|
|
|
ExecStart=-/bin/chown -R root:$LINUXBREWGROUP /home/linuxbrew -R
|
|
|
|
ExecStart=-/bin/setfacl -R -m g:$LINUXBREWGROUP:rwx,o:rx /home/linuxbrew
|
2024-04-26 09:30:39 +02:00
|
|
|
User=root
|
|
|
|
StandardOutput=journal
|
|
|
|
StandardError=journal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|