12 lines
333 B
Bash
Executable File
12 lines
333 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
cd /usr/lib/pga-plugin-manager
|
|
npm install --omit=dev
|
|
|
|
cp /usr/lib/pga-plugin-manager/pga-plugin-manager.service /etc/systemd/system/pga-plugin-manager.service
|
|
systemctl daemon-reload
|
|
systemctl enable --now pga-plugin-manager.service
|
|
echo "Now running at http://localhost:3000, and will run on every boot. "
|
|
exit 0
|