Workaround for shell expansions

systemd services do not allow shell expansions to work. As a
    workaround, /bin/sh is used to call the desired commands
This commit is contained in:
RealStickman 2023-05-05 15:12:36 +02:00
parent b51524e787
commit ad632c11fe

View File

@ -1,3 +1,3 @@
[Service]
ExecStartPost=/usr/bin/chgrp vmware /dev/vmnet*
ExecStartPost=/usr/bin/chmod g+rw /dev/vmnet*
ExecStartPost=/bin/sh -c "/usr/bin/chgrp vmware /dev/vmnet*"
ExecStartPost=/bin/sh -c "/usr/bin/chmod g+rw /dev/vmnet*"