mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2026-01-05 04:05:17 +01:00
Update uptime-kuma-install.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user