1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 19:56:48 +00:00
webvirtcloud/conf/systemd/webvirt-gstfsd.service
catborise e4aa4f2372 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.
2026-10-02 23:10:04 +03:00

22 lines
511 B
Desktop File

[Unit]
Description=Webvirt Cloud GSTFSD
Wants=network-online.target
After=network-online.target
[Service]
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
# Make sure stderr/stdout is captured in the systemd journal.
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target