mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update mosquitto.service.tpl
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[Unit]
|
||||
Description=Redis In-Memory Data Store
|
||||
Description=Mosquitto MQTT Broker
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart={$SERVER_PATH}/redis/bin/redis-server {$SERVER_PATH}/redis/redis.conf
|
||||
ExecStart={$SERVER_PATH}/mosquitto/bin/mosquitto {$SERVER_PATH}/mosquitto/etc/mosquitto/mosquitto.conf
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user