mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 20:47:38 +03:00
fix: use homedir as workdir in systemd unit
as default acme storage is $workdir/acme instead of $homedir/.config/...
This commit is contained in:
parent
099faa93a4
commit
3eeab8a349
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${_config_name}.yaml
|
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${_config_name}.yaml
|
||||||
WorkingDirectory=$CONFIG_DIR
|
WorkingDirectory=$HYSTERIA_HOME_DIR
|
||||||
User=$HYSTERIA_USER
|
User=$HYSTERIA_USER
|
||||||
Group=$HYSTERIA_USER
|
Group=$HYSTERIA_USER
|
||||||
Environment=HYSTERIA_LOG_LEVEL=info
|
Environment=HYSTERIA_LOG_LEVEL=info
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue