mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 20:47:38 +03:00
chore(scripts): use WorkingDirectory=~
as introduced in systemd v227 [1], all modern linux distro should
support this now.
[1]: 5f5d8eab1f
This commit is contained in:
parent
1173252f62
commit
7135f04fa2
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ After=network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${CONFIG_DIR}/${_config_name}.yaml
|
||||
WorkingDirectory=$HYSTERIA_HOME_DIR
|
||||
WorkingDirectory=~
|
||||
User=$HYSTERIA_USER
|
||||
Group=$HYSTERIA_USER
|
||||
Environment=HYSTERIA_LOG_LEVEL=info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue