open-vm-tools/vmtoolsd-init.service
Ravindra Kumar 3f6bfd351d Implement the https://pagure.io/packaging-committee/issue/506 guideline.
Added vmtoolsd-init.service per the guideline.
Replaced the certificate cleanup with "vmware-guestproxycerttool -e".
2018-08-07 23:16:18 -07:00

15 lines
381 B
Desktop File

[Unit]
Description=One-time configuration for vmtoolsd
ConditionVirtualization=vmware
ConditionPathExists=|!/etc/vmware-tools/GuestProxyData/server/cert.pem
ConditionPathExists=|!/etc/vmware-tools/GuestProxyData/server/key.pem
PartOf=vmtoolsd.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/vmware-guestproxycerttool -g
[Install]
RequiredBy=vmtoolsd.service