mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Adjust installation script to use 'bun' instead of 'npm' for creating the umami service
This commit is contained in:
parent
43bc6dd144
commit
b549f55cc4
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ $STD bun run build
|
||||||
msg_ok "Installed Umami"
|
msg_ok "Installed Umami"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/root/.bun/bin/bun
|
cat <<EOF >/etc/systemd/system/umami.service
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=umami
|
Description=umami
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/opt/umami
|
WorkingDirectory=/opt/umami
|
||||||
ExecStart=/usr/bin/bun run start
|
ExecStart=/root/.bun/bin/bun run start
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue