some changes
This commit is contained in:
parent
43e14f8526
commit
665e6b337a
@ -2,4 +2,4 @@ mosquitto_pid_file: "{{ mosquitto_pid_dir }}/mosquitto.pid"
|
|||||||
mosquitto_user: mosquitto
|
mosquitto_user: mosquitto
|
||||||
mosquitto_group: mosquitto
|
mosquitto_group: mosquitto
|
||||||
mosquitto_port: 61000
|
mosquitto_port: 61000
|
||||||
mosquitto_pid_dir: /var/run/mosquitto
|
mosquitto_pid_dir: /var/run
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
port {{ mosquitto_port }}
|
port {{ mosquitto_port }}
|
||||||
user {{ mosquitto_user }}
|
user {{ mosquitto_user }}
|
||||||
pid_file {{ mosquitto_pid_file }}
|
|
||||||
|
|
||||||
persistence_file mosquitto.db
|
persistence_file mosquitto.db
|
||||||
|
|
||||||
|
@ -6,8 +6,6 @@ After=network.target
|
|||||||
Requires=network.target
|
Requires=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User={{ mosquitto_user }}
|
|
||||||
Group={{ mosquitto_user }}
|
|
||||||
Type=forking
|
Type=forking
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
Loading…
Reference in New Issue
Block a user