mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-12 22:18:13 -05:00
🚸 放宽 Agent 权限使 WebSSH 更灵活
This commit is contained in:
parent
6316feef51
commit
7cb9e83c1e
@ -21,10 +21,10 @@ Restart=always
|
|||||||
|
|
||||||
# Some distributions may not support these hardening directives. If you cannot start the service due
|
# Some distributions may not support these hardening directives. If you cannot start the service due
|
||||||
# to an unknown option, comment out the ones not supported by your version of systemd.
|
# to an unknown option, comment out the ones not supported by your version of systemd.
|
||||||
ProtectSystem=full
|
#ProtectSystem=full
|
||||||
PrivateDevices=yes
|
#PrivateDevices=yes
|
||||||
PrivateTmp=yes
|
#PrivateTmp=yes
|
||||||
NoNewPrivileges=true
|
#NoNewPrivileges=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user