aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index cd8529c..3a3f13f 100755
--- a/config
+++ b/config
@@ -54,7 +54,7 @@ all() {
}
customize_config() {
- sed "s#{{ connect4_dir }}#$CONNECT4_WEB_ROOT#g" -i ./api.systemd.conf
+ sed "s#{{ connect4_dir }}#$(pwd)#g" -i ./api.systemd.conf
sed "s/{{ connect4_user }}/$(whoami)/g" -i ./api.systemd.conf
sed "s/user nobody/user $(whoami)/" -i ./nginx.conf
}