[Unit]
Description=Connection service
-Requires=dbus.socket
-After=dbus.socket
-Before=remote-fs-pre.target
-Wants=remote-fs-pre.target
+DefaultDependencies=false
+Conflicts=shutdown.target
+RequiresMountsFor=@localstatedir@/lib/connman
+After=dbus.service network-pre.target systemd-sysusers.service
+Before=network.target multi-user.target shutdown.target
+Wants=network.target
[Service]
Type=dbus
Restart=on-failure
ExecStart=@sbindir@/connmand -n
StandardOutput=null
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SYS_TIME CAP_SYS_MODULE
+ProtectHome=true
+ProtectSystem=full
[Install]
WantedBy=multi-user.target