mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-17 18:24:08 +00:00
Compare commits
2 Commits
fix-poznot
...
fix-sparky
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42cc1d298b | ||
|
|
ad271cf58d |
@@ -50,10 +50,8 @@ function update_script() {
|
|||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
msg_info "Running Poznote Initialization"
|
msg_info "Running Poznote Initialization"
|
||||||
POZNOTE_INIT=/opt/poznote/docker/init.sh
|
chmod +x /opt/poznote/init.sh
|
||||||
[[ -f "$POZNOTE_INIT" ]] || POZNOTE_INIT=/opt/poznote/init.sh
|
$STD /opt/poznote/init.sh
|
||||||
chmod +x "$POZNOTE_INIT"
|
|
||||||
$STD "$POZNOTE_INIT"
|
|
||||||
msg_ok "Initialized Poznote Data Directory"
|
msg_ok "Initialized Poznote Data Directory"
|
||||||
|
|
||||||
msg_info "Updating Nginx Configuration"
|
msg_info "Updating Nginx Configuration"
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ function update_script() {
|
|||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/opt/sparkyfitness/SparkyFitnessServer
|
WorkingDirectory=/opt/sparkyfitness/SparkyFitnessServer
|
||||||
EnvironmentFile=/etc/sparkyfitness/.env
|
EnvironmentFile=/etc/sparkyfitness/.env
|
||||||
ExecStart=/opt/sparkyfitness/SparkyFitnessServer/node_modules/.bin/tsx SparkyFitnessServer.js
|
ExecStart=/opt/sparkyfitness/SparkyFitnessServer/node_modules/.bin/tsx index.ts
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
@@ -29,10 +29,8 @@ chown -R www-data:www-data /var/www/html
|
|||||||
msg_ok "Deployed Poznote"
|
msg_ok "Deployed Poznote"
|
||||||
|
|
||||||
msg_info "Running Poznote Initialization"
|
msg_info "Running Poznote Initialization"
|
||||||
POZNOTE_INIT=/opt/poznote/docker/init.sh
|
chmod +x /opt/poznote/init.sh
|
||||||
[[ -f "$POZNOTE_INIT" ]] || POZNOTE_INIT=/opt/poznote/init.sh
|
$STD /opt/poznote/init.sh
|
||||||
chmod +x "$POZNOTE_INIT"
|
|
||||||
$STD "$POZNOTE_INIT"
|
|
||||||
msg_ok "Initialized Poznote Data Directory"
|
msg_ok "Initialized Poznote Data Directory"
|
||||||
|
|
||||||
msg_info "Configuring Nginx"
|
msg_info "Configuring Nginx"
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ Requires=postgresql.service
|
|||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/opt/sparkyfitness/SparkyFitnessServer
|
WorkingDirectory=/opt/sparkyfitness/SparkyFitnessServer
|
||||||
EnvironmentFile=/etc/sparkyfitness/.env
|
EnvironmentFile=/etc/sparkyfitness/.env
|
||||||
ExecStart=/opt/sparkyfitness/SparkyFitnessServer/node_modules/.bin/tsx SparkyFitnessServer.js
|
ExecStart=/opt/sparkyfitness/SparkyFitnessServer/node_modules/.bin/tsx index.ts
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user