mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 11:46:49 +00:00
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.
22 lines
511 B
Desktop File
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
|