mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
aminda-nocron-*: add more services
This commit is contained in:
parent
44a2f4b482
commit
d08c511875
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user