20 lines
464 B
Desktop File
20 lines
464 B
Desktop File
[Unit]
|
|
Description=OpenWrt Remote Hub
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=OWRT_REMOTE_BIND=0.0.0.0
|
|
Environment=OWRT_REMOTE_PORT=8088
|
|
Environment=OWRT_REMOTE_STATE_DIR=/var/lib/owrt-remote
|
|
ExecStart=/opt/owrt-remote/owrt-remote-run.sh serve
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
DynamicUser=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|