chore: emqx.service shard for deb and rpm
This commit is contained in:
parent
122e75c0b4
commit
a216f1bf18
|
@ -1,17 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=emqx daemon
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=emqx
|
|
||||||
Group=emqx
|
|
||||||
Type=forking
|
|
||||||
Environment=HOME=/var/lib/emqx
|
|
||||||
ExecStart=/usr/bin/emqx start
|
|
||||||
LimitNOFILE=1048576
|
|
||||||
ExecStop=/usr/bin/emqx stop
|
|
||||||
Restart=on-failure
|
|
||||||
RestartSec=5s
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -0,0 +1 @@
|
||||||
|
../emqx.service
|
Loading…
Reference in New Issue