mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-18 13:17:21 +02:00
cronish: ensure root home executability for symlinks pointing there if other permissions allow
This commit is contained in:
parent
7a16607e5f
commit
827e7ec01a
@ -10,6 +10,7 @@ Environment=LINUXBREWGROUP=wheel
|
|||||||
# Remember `systemd-path search-binaries-default`
|
# Remember `systemd-path search-binaries-default`
|
||||||
ExecStartPre=-echo 1 > /sys/devices/system/cpu/microcode/reload
|
ExecStartPre=-echo 1 > /sys/devices/system/cpu/microcode/reload
|
||||||
# - means it can fail, without failing those after it.
|
# - means it can fail, without failing those after it.
|
||||||
|
ExecStartPre=-chmod a+x /root /var/roothome
|
||||||
# These aren't given --now as THEY WOULD INFINITE LOOP.
|
# These aren't given --now as THEY WOULD INFINITE LOOP.
|
||||||
ExecStartPre=-systemctl enable aminda-nocron-rebootish.service
|
ExecStartPre=-systemctl enable aminda-nocron-rebootish.service
|
||||||
ExecStartPre=-systemctl enable aminda-nocron-rebootish.timer
|
ExecStartPre=-systemctl enable aminda-nocron-rebootish.timer
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# symlinks to root home
|
||||||
|
@reboot /usr/bin/chmod a+x /root /var/roothome >/dev/null 2>&1
|
||||||
|
|
||||||
# Workaround it appearing to break SSH especially on family PC
|
# Workaround it appearing to break SSH especially on family PC
|
||||||
@reboot /bin/bash -c "/bin/nordvpn set killswitch off;/usr/bin/systemctl disable --now nordvpnd.{service.socket} --quiet"
|
@reboot /bin/bash -c "/bin/nordvpn set killswitch off;/usr/bin/systemctl disable --now nordvpnd.{service.socket} --quiet"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user