mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "5c711293b94f7d2dd526d675c286fddaf8ee2afe" and "f5978717d4d6767ab181578289de755647ab9d62" have entirely different histories.
5c711293b9
...
f5978717d4
|
@ -35,13 +35,6 @@ msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Actual Budget"
|
msg_info "Installing Actual Budget"
|
||||||
$STD git clone https://github.com/actualbudget/actual-server.git /opt/actualbudget
|
$STD git clone https://github.com/actualbudget/actual-server.git /opt/actualbudget
|
||||||
mkdir -p /opt/actualbudget/server-files
|
|
||||||
chown -R root:root /opt/actualbudget/server-files
|
|
||||||
chmod 755 /opt/actualbudget/server-files
|
|
||||||
cat <<EOF > /opt/actualbudget/.env
|
|
||||||
ACTUAL_UPLOAD_DIR=/opt/actualbudget/server-files
|
|
||||||
PORT=5006
|
|
||||||
EOF
|
|
||||||
cd /opt/actualbudget
|
cd /opt/actualbudget
|
||||||
$STD yarn install
|
$STD yarn install
|
||||||
msg_ok "Installed Actual Budget"
|
msg_ok "Installed Actual Budget"
|
||||||
|
@ -53,14 +46,9 @@ Description=Actual Budget Service
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=exec
|
||||||
User=root
|
|
||||||
Group=root
|
|
||||||
WorkingDirectory=/opt/actualbudget
|
WorkingDirectory=/opt/actualbudget
|
||||||
EnvironmentFile=/opt/actualbudget/.env
|
|
||||||
ExecStart=/usr/bin/yarn start
|
ExecStart=/usr/bin/yarn start
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -40,8 +40,7 @@ $STD apt-get install -y --no-install-recommends \
|
||||||
mc
|
mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Python3 Dependencies (Patience)"
|
msg_info "Installing Python3 Dependencies"
|
||||||
$STD python3 -m nltk.downloader all
|
|
||||||
$STD apt-get install -y --no-install-recommends \
|
$STD apt-get install -y --no-install-recommends \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
|
Loading…
Reference in New Issue