mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
Revert "feat(scripts): HYSTERIA_ACME_DIR in systemd unit"
This reverts commit f6fecba6c7
.
ref: #692
there are still some permission issues due to writing to workdir by default.
This commit is contained in:
parent
1d0560dd34
commit
1173252f62
1 changed files with 1 additions and 2 deletions
|
@ -677,11 +677,10 @@ After=network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${CONFIG_DIR}/${_config_name}.yaml
|
||||
WorkingDirectory=$CONFIG_DIR
|
||||
WorkingDirectory=$HYSTERIA_HOME_DIR
|
||||
User=$HYSTERIA_USER
|
||||
Group=$HYSTERIA_USER
|
||||
Environment=HYSTERIA_LOG_LEVEL=info
|
||||
Environment=HYSTERIA_ACME_DIR=$HYSTERIA_HOME_DIR/acme
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
||||
NoNewPrivileges=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue