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:
parent
b51524e787
commit
ad632c11fe
@ -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*"
|
||||
|
Loading…
Reference in New Issue
Block a user