fix pvebanner and pvenetcommit service dependencies

This commit is contained in:
Dietmar Maurer 2015-03-02 17:51:45 +01:00
parent 6675a0648f
commit 4144c9d249
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,8 @@
[Unit]
Description=Proxmox VE Login Banner
ConditionPathExists=/usr/bin/pvebanner
Wants=console-getty.service
DefaultDependencies=no
After=local-fs.target
Before=console-getty.service
[Service]

View File

@ -1,5 +1,8 @@
[Unit]
Description=Commit Proxmox VE network changes
DefaultDependencies=no
After=local-fs.target
Before=sysinit.target
[Service]
ExecStartPre=-/bin/rm -f /etc/openvswitch/conf.db
@ -8,5 +11,7 @@ ExecStart=/bin/true
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=networking.service
WantedBy=sysinit.target