fix: confdir in systemd unit in install_server.sh

caused by 3eeab8a349
This commit is contained in:
Haruue Icymoon 2023-09-05 16:23:02 +08:00
parent bd2d4c9b8e
commit ec91aa592a
No known key found for this signature in database
GPG key ID: F6083B28CBCBC148

View file

@ -649,7 +649,7 @@ After=network.target
[Service]
Type=simple
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${_config_name}.yaml
ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${CONFIG_DIR}/${_config_name}.yaml
WorkingDirectory=$HYSTERIA_HOME_DIR
User=$HYSTERIA_USER
Group=$HYSTERIA_USER