1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00

conf(gstfsd): show how to allow a remote bind in supervisor and systemd

gstfsd only listens on loopback unless GSTFSD_BIND_HOST and
GSTFSD_ALLOW_REMOTE=1 are set; add commented environment lines for both
service definitions. gstfsd.conf now ends with a newline, which matters
because dev/libvirt-bootstrap.sh appends it to /etc/supervisor.conf.
This commit is contained in:
catborise 2026-10-02 23:10:04 +03:00
parent 9205e56e3b
commit e4aa4f2372
2 changed files with 6 additions and 1 deletions

View file

@ -4,4 +4,6 @@ directory=/usr/local/bin
user=root
autostart=true
autorestart=true
redirect_stderr=true
redirect_stderr=true
# Remote compute (unauthenticated root service, trusted networks only):
;environment=GSTFSD_BIND_HOST="0.0.0.0",GSTFSD_ALLOW_REMOTE="1"

View file

@ -8,6 +8,9 @@ Type=simple
Restart=on-failure
RestartSec=10
LimitNOFILE=64000
# Remote compute (unauthenticated root service, trusted networks only):
#Environment=GSTFSD_BIND_HOST=0.0.0.0
#Environment=GSTFSD_ALLOW_REMOTE=1
ExecStart=/usr/bin/python3 /usr/local/bin/gstfsd