Merge pull request #7836 from zmstone/0429-4.x-systemd-service-file-path-to-bash

fix: use /bin/bash in systemd service file
This commit is contained in:
Zaiming (Stone) Shi 2022-04-29 09:12:10 +01:00 committed by GitHub
commit fb18c565c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
# errno=13 'Permission denied'
# Cannot create FIFO ... for writing
ExecStart=bash /usr/bin/emqx start
ExecStart=/bin/bash /usr/bin/emqx start
LimitNOFILE=1048576
ExecStop=bash /usr/bin/emqx stop
ExecStop=/bin/bash /usr/bin/emqx stop
Restart=on-failure
# When clustered, give the peers enough time to get this node's 'DOWN' event