aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-25 11:43:13 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-25 11:43:13 +0200
commite42736cc9241e964735816d5449297fae95153ec (patch)
treed6b7a38d61c0e769dc6249f25173453ecd501e76
parent262c02433400b565837784a5c06605bf910a35d1 (diff)
sed command fix
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 23fae65..a5d38c5 100755
--- a/config
+++ b/config
@@ -44,7 +44,7 @@ voerbak() {
}
customize_config() {
- sed "s/{{ connect4_dir }}/${CONNECT4_WEB_ROOT}/g" -i ./api.systemd.conf
+ sed "s#{{ connect4_dir }}#$CONNECT4_WEB_ROOT#g" -i ./api.systemd.conf
sed "s/{{ connect4_user }}/$(whoami)/g" -i ./api.systemd.conf
sed "s/user nobody/user $(whoami)/" -i ./nginx.conf
}