Update actualbudget-install.sh
This commit is contained in:
parent
ef2ca9842c
commit
a5d790e4d3
@ -45,6 +45,7 @@ cat <<EOF >/opt/actualbudget-data/config.json
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
mkdir -p /opt/actualbudget
|
||||||
cd /opt/actualbudget
|
cd /opt/actualbudget
|
||||||
npm install --location=global @actual-app/sync-server
|
npm install --location=global @actual-app/sync-server
|
||||||
$STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <<EOF
|
$STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <<EOF
|
||||||
@ -67,8 +68,6 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
|
||||||
Group=root
|
|
||||||
WorkingDirectory=/opt/actualbudget
|
WorkingDirectory=/opt/actualbudget
|
||||||
ExecStart=/usr/bin/actual-server --config /opt/actualbudget/config.json
|
ExecStart=/usr/bin/actual-server --config /opt/actualbudget/config.json
|
||||||
Restart=always
|
Restart=always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user