daemon: changes usage of running scripts using /bin/sh to bash to help provide consistency in what could be ran, added bash as a dependency in installation scripts, added bash as an executable check during startup
This commit is contained in:
parent
eb70386238
commit
0d2dd70727
20 changed files with 71 additions and 62 deletions
|
@ -13,7 +13,7 @@ class EmaneTransportService(CoreService):
|
|||
dependencies: Tuple[str, ...] = ()
|
||||
dirs: Tuple[str, ...] = ()
|
||||
configs: Tuple[str, ...] = ("emanetransport.sh",)
|
||||
startup: Tuple[str, ...] = (f"sh {configs[0]}",)
|
||||
startup: Tuple[str, ...] = (f"bash {configs[0]}",)
|
||||
validate: Tuple[str, ...] = (f"pidof {executables[0]}",)
|
||||
validation_timer: float = 0.5
|
||||
shutdown: Tuple[str, ...] = (f"killall {executables[0]}",)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue