added presets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user