mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 06:38:39 +00:00
fix pvebanner and pvenetcommit service dependencies
This commit is contained in:
parent
6675a0648f
commit
4144c9d249
@ -1,7 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Proxmox VE Login Banner
|
Description=Proxmox VE Login Banner
|
||||||
ConditionPathExists=/usr/bin/pvebanner
|
ConditionPathExists=/usr/bin/pvebanner
|
||||||
Wants=console-getty.service
|
DefaultDependencies=no
|
||||||
|
After=local-fs.target
|
||||||
Before=console-getty.service
|
Before=console-getty.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Commit Proxmox VE network changes
|
Description=Commit Proxmox VE network changes
|
||||||
|
DefaultDependencies=no
|
||||||
|
After=local-fs.target
|
||||||
|
Before=sysinit.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=-/bin/rm -f /etc/openvswitch/conf.db
|
ExecStartPre=-/bin/rm -f /etc/openvswitch/conf.db
|
||||||
@ -8,5 +11,7 @@ ExecStart=/bin/true
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=networking.service
|
WantedBy=sysinit.target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user