We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6982d02 commit 0afe60eCopy full SHA for 0afe60e
ct/actualbudget.sh
@@ -42,6 +42,14 @@ function update_script() {
42
tar -xzf v${RELEASE}.tar.gz >/dev/null 2>&1
43
mv *ctual-server-* /opt/actualbudget
44
rm -rf /opt/actualbudget/.env
45
+ if [ ! -f /opt/actualbudget_bak/.env ]; then
46
+ cat <<EOF > /opt/actualbudget/.env
47
+ ACTUAL_UPLOAD_DIR=/opt/actualbudget/server-files
48
+ ACTUAL_DATA_DIR=/opt/actualbudget-data
49
+ ACTUAL_SERVER_FILES_DIR=/opt/actualbudget/server-files
50
+ PORT=5006
51
+ EOF
52
+ fi
53
mv /opt/actualbudget_bak/.env /opt/actualbudget
54
mv /opt/actualbudget_bak/.migrate /opt/actualbudget
55
mv /opt/actualbudget_bak/server-files /opt/actualbudget/server-files
0 commit comments