Remove hard coded ROCm path in rdc.service
The executable rdcd was using an absolute path in rdc.service. Using update-alternatives gives the flexibility to invoke the binary from anywhere and no absolute path is required. Change-Id: I2f3d6fcbf9dd854870cfc2e00532c504ce6cd6fc
This commit is contained in:
committed by
Galantsev, Dmitrii
parent
662cc0f8b2
commit
0ca6d6fa59
@@ -23,8 +23,9 @@ AmbientCapabilities=CAP_DAC_OVERRIDE
|
||||
|
||||
# If we need to start anything before rdcd, use this
|
||||
# ExecStartPre=
|
||||
|
||||
ExecStart=/@CPACK_PACKAGING_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/rdcd
|
||||
# update-alternative has been run for rdcd and
|
||||
# soft link will be available in usr/bin
|
||||
ExecStart=rdcd
|
||||
|
||||
# If we need to start anything after rdcd use this
|
||||
# ExecStartPost=
|
||||
|
||||
Reference in New Issue
Block a user