From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] services: add restart on-failure to pvescheduler, pvestatd and spiceproxy
Date: Mon, 26 May 2025 10:45:35 +0200 [thread overview]
Message-ID: <20250526084535.12539-1-f.ebner@proxmox.com> (raw)
Same rationale as 4fd2027e ("service: add restart on-failure to
pveproxy and pvedaemon") which added the setting for the pveproxy and
pvedaemon services.
Suggested for pvestatd in the community forum:
https://forum.proxmox.com/threads/165597/post-773210
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
services/pvescheduler.service | 1 +
services/pvestatd.service | 1 +
services/spiceproxy.service | 1 +
3 files changed, 3 insertions(+)
diff --git a/services/pvescheduler.service b/services/pvescheduler.service
index 6d0d0985..8d78f3b1 100644
--- a/services/pvescheduler.service
+++ b/services/pvescheduler.service
@@ -13,6 +13,7 @@ ExecReload=/usr/bin/pvescheduler restart
PIDFile=/var/run/pvescheduler.pid
KillMode=process
Type=forking
+Restart=on-failure
[Install]
WantedBy=multi-user.target
diff --git a/services/pvestatd.service b/services/pvestatd.service
index d7db50f6..ed6339eb 100644
--- a/services/pvestatd.service
+++ b/services/pvestatd.service
@@ -10,6 +10,7 @@ ExecStop=/usr/bin/pvestatd stop
ExecReload=/usr/bin/pvestatd restart
PIDFile=/run/pvestatd.pid
Type=forking
+Restart=on-failure
[Install]
WantedBy=multi-user.target
diff --git a/services/spiceproxy.service b/services/spiceproxy.service
index e800be81..bda9e8f9 100644
--- a/services/spiceproxy.service
+++ b/services/spiceproxy.service
@@ -10,6 +10,7 @@ ExecStop=/usr/bin/spiceproxy stop
ExecReload=/usr/bin/spiceproxy restart
PIDFile=/run/pveproxy/spiceproxy.pid
Type=forking
+Restart=on-failure
[Install]
WantedBy=multi-user.target
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next reply other threads:[~2025-05-26 8:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 8:45 Fiona Ebner [this message]
2025-05-26 10:38 ` Thomas Lamprecht
2025-05-26 13:37 ` Fiona Ebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250526084535.12539-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal