What version are you using? The version in testing has a systemd unit.

On Tue, 5 Mar 2019 at 18:45, Tollef Fog Heen <tfh...@debian.org> wrote:
>
> Source: mosquitto
> Severity: wishlist
>
> It would be useful if mosquitto provided a systemd unit, I suggest
> something like:
>
> [Unit]
> Description=mosquitto MQTT v3.1 message broker
>
> [Service]
> ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
> Restart=on-failure
>
> [Install]
> WantedBy=multi-user.target
>
> --
> Tollef Fog Heen
> UNIX is user friendly, it's just picky about who its friends are

Reply via email to