]> git.proxmox.com Git - pve-manager.git/blame - services/pvenetcommit.service
pvesh: code clean-ups
[pve-manager.git] / services / pvenetcommit.service
CommitLineData
6675a064
DM
1[Unit]
2Description=Commit Proxmox VE network changes
4144c9d2
DM
3DefaultDependencies=no
4After=local-fs.target
5Before=sysinit.target
6675a064
DM
6
7[Service]
8ExecStartPre=-/bin/rm -f /etc/openvswitch/conf.db
6c83ba58
TL
9Environment="FN=/etc/network/interfaces"
10ExecStart=sh -c 'if [ -f ${FN}.new ]; then mv ${FN}.new ${FN}; fi'
6675a064
DM
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
4144c9d2 15WantedBy=sysinit.target