mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 04:29:29 +01:00
aminda-nocron-reboot.service: attempt to help linuxbrew permissions
This commit is contained in:
parent
8ce36b9c9e
commit
391ec83b38
@ -5,6 +5,7 @@ Wants=sysctl-p--system.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
TimeoutStartSec=infinity
|
||||
Environment=LINUXBREWGROUP=wheel
|
||||
# - 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
|
||||
@ -37,6 +38,8 @@ 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
|
||||
ExecStart=-/bin/chown -R root:$LINUXBREWGROUP /home/linuxbrew -R
|
||||
ExecStart=-/bin/setfacl -R -m g:$LINUXBREWGROUP:rwx,o:rx /home/linuxbrew
|
||||
User=root
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
@ -0,0 +1,5 @@
|
||||
# in case linuxbrew users have a group separate from wheel, this is the place
|
||||
# to specify it.
|
||||
[Service]
|
||||
Environment=LINUXBREWGROUP=
|
||||
Environment=LINUXBREWGROUP=linuxbrew
|
Loading…
Reference in New Issue
Block a user