From 3eeab8a34923ce635bb620cd7e6760d8a9178fa9 Mon Sep 17 00:00:00 2001 From: Haruue Icymoon Date: Mon, 4 Sep 2023 22:58:06 +0800 Subject: [PATCH] fix: use homedir as workdir in systemd unit as default acme storage is $workdir/acme instead of $homedir/.config/... --- scripts/install_server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_server.sh b/scripts/install_server.sh index 5350754..4a52def 100644 --- a/scripts/install_server.sh +++ b/scripts/install_server.sh @@ -646,7 +646,7 @@ After=network.target [Service] Type=simple ExecStart=$EXECUTABLE_INSTALL_PATH server --config ${_config_name}.yaml -WorkingDirectory=$CONFIG_DIR +WorkingDirectory=$HYSTERIA_HOME_DIR User=$HYSTERIA_USER Group=$HYSTERIA_USER Environment=HYSTERIA_LOG_LEVEL=info