Update uptime-kuma-install.sh

This commit is contained in:
tschettervictor
2024-09-13 08:51:34 -06:00
committed by GitHub
parent 3bcd507dc6
commit ba17fa0060

View File

@@ -27,6 +27,7 @@ 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
chown -R uptimekuma:uptimekuma /usr/local/uptime-kuma
# Enable and start services
sysrc uptimekuma_enable="YES"