mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
build: computes run gstfsd as a systemd unit instead of under supervisor
The compute bootstrap installs gstfsd and webvirt-gstfsd.service in one helper and no longer installs or restarts supervisor; the README's compute step does the same, a remote panel's bind goes into a drop-in, and a compute moving from supervisor removes its gstfsd program.
This commit is contained in:
parent
837c5468ec
commit
42359ca2e2
4 changed files with 32 additions and 109 deletions
|
|
@ -1,22 +1,12 @@
|
|||
[Unit]
|
||||
Description=Webvirt Cloud GSTFSD
|
||||
Description=WebVirtCloud gstfsd (root password and SSH keys of shut-off VMs)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/gstfsd
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue