mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-07-26 08:27:20 +02:00
systemd: bring some socket awareness especially to aminda-nocron-reboot.service
This commit is contained in:
parent
6a47603594
commit
fdeeaa3963
@ -55,8 +55,9 @@ ExecStart=-firewall-cmd --permanent --add-port=6771/udp --zone=home
|
||||
#ExecStart=-/root/fixcontroller.py
|
||||
# This is actually in the delayed variant of this service, but anyway
|
||||
ExecStart=-systemctl enable --now yggdrasil.service
|
||||
ExecStart=-systemctl enable --now ssh.service
|
||||
ExecStart=-systemctl enable --now sshd.service
|
||||
ExecStart=-systemctl enable --now avahi-daemon.socket
|
||||
ExecStart=-systemctl enable --now ssh.socket
|
||||
ExecStart=-systemctl enable --now sshd.socket
|
||||
ExecStart=-systemctl enable --now sshguard.service
|
||||
ExecStart=-systemctl enable --now unbound.service
|
||||
ExecStart=-systemctl enable --now chrony.service
|
||||
|
@ -10,11 +10,11 @@ systemctl enable tlp.service
|
||||
|
||||
# Stop the services if they are running
|
||||
systemctl disable --quiet --now power-profiles-daemon.service
|
||||
systemctl disable --quiet --now systemd-rfkill.service
|
||||
systemctl disable --quiet --now systemd-rfkill.{service,socket}
|
||||
|
||||
# Actual masking
|
||||
systemctl mask power-profiles-daemon.service
|
||||
systemctl mask systemd-rfkill.service systemd-rfkill.socket
|
||||
systemctl mask systemd-rfkill.service systemd-rfkill.{service,socket}
|
||||
|
||||
# In case this script is ran multiple times in succession like when I did
|
||||
# when writing it
|
||||
|
Loading…
x
Reference in New Issue
Block a user