Commit b3e18473 authored by Dietmar Maurer's avatar Dietmar Maurer

use Wants instead of Requires inside systemd service definitions

To avoid unnecessary restarts of dependent services.
parent 37dfc896
[Unit] [Unit]
Description=PVE API Daemon Description=PVE API Daemon
ConditionPathExists=/usr/bin/pvedaemon ConditionPathExists=/usr/bin/pvedaemon
Requires=pve-cluster.service Wants=pve-cluster.service
After=pve-cluster.service After=pve-cluster.service
[Service] [Service]
......
[Unit] [Unit]
Description=PVE API Proxy Server Description=PVE API Proxy Server
ConditionPathExists=/usr/bin/pveproxy ConditionPathExists=/usr/bin/pveproxy
Requires=pve-cluster.service Wants=pve-cluster.service
Wants=pvedaemon.service Wants=pvedaemon.service
After=pve-cluster.service After=pve-cluster.service
After=pvedaemon.service After=pvedaemon.service
......
[Unit] [Unit]
Description=PVE Status Daemon Description=PVE Status Daemon
ConditionPathExists=/usr/bin/pvestatd ConditionPathExists=/usr/bin/pvestatd
Requires=pve-cluster.service Wants=pve-cluster.service
After=pve-cluster.service After=pve-cluster.service
[Service] [Service]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment