fix: use /bin/bash in systemd service file

Otherwise ubuntu may have troulbe to boot
This commit is contained in:
Zaiming (Stone) Shi 2022-04-29 07:38:59 +02:00
parent f07bb5a5d1
commit 6e404f7220
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ Environment=HOME=/var/lib/emqx
# Must use a 'bash' wrap for some OS # Must use a 'bash' wrap for some OS
# errno=13 'Permission denied' # errno=13 'Permission denied'
# Cannot create FIFO ... for writing # Cannot create FIFO ... for writing
ExecStart=bash /usr/bin/emqx start ExecStart=/bin/bash /usr/bin/emqx start
LimitNOFILE=1048576 LimitNOFILE=1048576
ExecStop=bash /usr/bin/emqx stop ExecStop=/bin/bash /usr/bin/emqx stop
Restart=on-failure Restart=on-failure
# When clustered, give the peers enough time to get this node's 'DOWN' event # When clustered, give the peers enough time to get this node's 'DOWN' event