Compare commits

...

1 Commits

Author SHA1 Message Date
William Yang 6c4bcc7426 fix(systemd): add restart on failure 2021-12-01 12:03:53 +01:00
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ Environment=HOME=/var/lib/emqx
ExecStart=/bin/sh /usr/bin/emqx start
LimitNOFILE=1048576
ExecStop=/bin/sh /usr/bin/emqx stop
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target