maybe chmod 0644 'systemd/system/getty@tty1.service.d/noclear.conf'
maybe chmod 0755 'systemd/system/halt.target.wants'
maybe chmod 0755 'systemd/system/multi-user.target.wants'
+maybe chmod 0644 'systemd/system/multi-user.target.wants/hmgw.service'
maybe chmod 0755 'systemd/system/paths.target.wants'
maybe chmod 0755 'systemd/system/poweroff.target.wants'
maybe chmod 0755 'systemd/system/printer.target.wants'
--- /dev/null
+[Unit]
+Description=Homematic LAN Gateway
+After=syslog.target
+After=network.target
+Requires=network.target
+
+[Service]
+ExecStart=/opt/YAHM/share/tools/hmgw/hmlangw -n auto
+ExecReload=/bin/kill -9 $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target