pve-manager/services/pvenetcommit.service
Thomas Lamprecht 81c713fcfd cleanup: rename bin/init.d to services
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00

18 lines
345 B
Desktop File

[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
ExecStartPre=-/bin/mv /etc/network/interfaces.new /etc/network/interfaces
ExecStart=/bin/true
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target