mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2026-01-03 11:18:38 +01:00
Update uptime-kuma-install.sh
This commit is contained in:
@@ -27,7 +27,7 @@ npm install npm -g
|
||||
cd /usr/local/ && git clone https://github.com/louislam/uptime-kuma.git
|
||||
cd /usr/local/uptime-kuma && npm run setup
|
||||
sed -i '' "s|console.log(\"Welcome to Uptime Kuma\");|process.chdir('/usr/local/uptime-kuma');\n&|" /usr/local/uptime-kuma/server/server.js
|
||||
fetch -o /usr/local/etc/rc.d/ https://raw.githubusercontent.com/tschettervictor/bsd-apps/main/uptimekuma/usr/local/etc/rc.d/uptimekuma
|
||||
fetch -o /usr/local/etc/rc.d/ https://raw.githubusercontent.com/tschettervictor/bsd-apps/main/uptime-kuma/usr/local/etc/rc.d/uptimekuma
|
||||
if [ "${REINSTALL}" != "1" ]; then
|
||||
cp -R /usr/local/uptime-kuma/data/* /mnt/data/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user