added presets

This commit is contained in:
2026-06-25 15:28:46 +03:00
parent db5f174ef3
commit 84a007f9d0
106 changed files with 6250 additions and 36 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
[Unit]
Description=ButtonTask Web Configurator
After=network.target
After=buttontask-network.service
Wants=buttontask-network.service
[Service]
Type=simple
@@ -10,6 +11,7 @@ WorkingDirectory=/opt/buttontask/current/webconfig
Environment=BUTTONTASK_ROOT=/opt/buttontask
Environment=BUTTONTASK_CONFIG=/opt/buttontask/config/config.json
Environment=BUTTONTASK_HOST=0.0.0.0
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/python3 /opt/buttontask/current/webconfig/app.py
Restart=on-failure
RestartSec=3