aminda-nocron-*: add more services

This commit is contained in:
Aminda Suomalainen 2024-07-23 08:49:18 +03:00
parent 44a2f4b482
commit d08c511875
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 6 additions and 9 deletions

View File

@ -29,7 +29,12 @@ ExecStart=-/usr/bin/firewall-cmd --permanent --add-port=6771/udp
#ExecStart=-/root/fixcontroller.py #ExecStart=-/root/fixcontroller.py
# This is actually in the delayed variant of this service, but anyway # This is actually in the delayed variant of this service, but anyway
ExecStart=-/usr/bin/systemctl enable --now yggdrasil.service ExecStart=-/usr/bin/systemctl enable --now yggdrasil.service
ExecStart=-/usr/bin/systemctl enable --now ssh.service
ExecStart=-/usr/bin/systemctl enable --now sshd.service
ExecStart=-/usr/bin/systemctl enable --now sshguard.service ExecStart=-/usr/bin/systemctl enable --now sshguard.service
ExecStart=-/usr/bin/systemctl enable --now unbound.service
ExecStart=-/usr/bin/systemctl enable --now chrony.service
ExecStart=-/usr/bin/systemctl enable --now chronyd.service
User=root User=root
StandardOutput=journal StandardOutput=journal
StandardError=journal StandardError=journal

View File

@ -7,6 +7,7 @@ TimeoutStartSec=infinity
# - means it can fail, without failing those after it # - means it can fail, without failing those after it
# Another attempt at ensuring Yggdrasil works with nordvpnd # Another attempt at ensuring Yggdrasil works with nordvpnd
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0 ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
ExecStartPre=-/usr/bin/systemctl enable --now tlp
ExecStart=-/usr/bin/systemctl restart yggdrasil.service ExecStart=-/usr/bin/systemctl restart yggdrasil.service
ExecStart=-/bin/firewall-cmd --reload ExecStart=-/bin/firewall-cmd --reload
# If they somehow managed to not start already # If they somehow managed to not start already

View File

@ -1,9 +0,0 @@
[Unit]
Description=poke unbound as a stupid workaround for it not wanting to start with wireless devices
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl start unbound --quiet
[Install]
WantedBy=multi-user.target