Update convertx-install.sh
This commit is contained in:
parent
19ce47c6a9
commit
4c22017471
@ -54,24 +54,24 @@ PORT=3000
|
|||||||
EOF
|
EOF
|
||||||
msg_ok "Installed ConvertX"
|
msg_ok "Installed ConvertX"
|
||||||
|
|
||||||
msg_info "Creating Services"
|
# msg_info "Creating Services"
|
||||||
cat <<EOF >/etc/systemd/system/convertx.service
|
# cat <<EOF >/etc/systemd/system/convertx.service
|
||||||
[Unit]
|
# [Unit]
|
||||||
Description=ConvertX File Converter
|
# Description=ConvertX File Converter
|
||||||
After=network.target
|
# After=network.target
|
||||||
|
|
||||||
[Service]
|
# [Service]
|
||||||
Type=exec
|
# Type=exec
|
||||||
WorkingDirectory=/opt/convertx
|
# WorkingDirectory=/opt/convertx
|
||||||
EnvironmentFile=/opt/convertx/.env
|
# EnvironmentFile=/opt/convertx/.env
|
||||||
ExecStart=/root/.bun/bin/bun dev
|
# ExecStart=/root/.bun/bin/bun dev
|
||||||
Restart=always
|
# Restart=always
|
||||||
|
|
||||||
[Install]
|
# [Install]
|
||||||
WantedBy=multi-user.target
|
# WantedBy=multi-user.target
|
||||||
EOF
|
# EOF
|
||||||
systemctl enable -q --now convertx
|
# systemctl enable -q --now convertx
|
||||||
msg_ok "Service Created"
|
# msg_ok "Service Created"
|
||||||
|
|
||||||
msg_info "Waiting for SQLite database"
|
msg_info "Waiting for SQLite database"
|
||||||
for ((COUNT = 0; COUNT < 60; COUNT++)); do
|
for ((COUNT = 0; COUNT < 60; COUNT++)); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user