f54199e905
startup failure. It failed always with "Error: Cannot assign requested address" on boot for me without this. OBS-URL: https://build.opensuse.org/package/show/network:messaging:mqtt/mosquitto?expand=0&rev=73
28 lines
715 B
Desktop File
28 lines
715 B
Desktop File
[Unit]
|
|
Description=Mosquitto MQTT v3.1/v3.1.1 Broker
|
|
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
|
After=network-online.target nss-lookup.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=simple
|
|
User=mosquitto
|
|
Group=mosquitto
|
|
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|