mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-30 23:03:03 -07:00
Misc tweaks
This commit is contained in:
@@ -339,7 +339,7 @@ nginx -t || {
|
|||||||
/etc/init.d/nginx start
|
/etc/init.d/nginx start
|
||||||
|
|
||||||
# Make a start script
|
# Make a start script
|
||||||
cat > "$INSTALL_DIR/start.netalertx.sh" << 'EOF'
|
cat > "$INSTALL_DIR/start.netalertx.sh" << EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Activate the virtual python environment
|
# Activate the virtual python environment
|
||||||
@@ -371,7 +371,7 @@ Wants=network-online.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
User=www-data
|
User=www-data
|
||||||
Group=www-data
|
Group=www-data
|
||||||
ExecStart=/bin/bash -lc '/app/start.netalertx.sh'
|
ExecStart=/app/start.netalertx.sh
|
||||||
WorkingDirectory=/app
|
WorkingDirectory=/app
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
openwrt-luci-rpc
|
openwrt-luci-rpc
|
||||||
asusrouter
|
asusrouter
|
||||||
asyncio
|
|
||||||
aiohttp
|
aiohttp
|
||||||
graphene
|
graphene
|
||||||
flask
|
flask
|
||||||
|
|||||||
Reference in New Issue
Block a user