]> git.hoellein.online Git - pi-dgl-wand/commitdiff
daily autocommit
authormhoellein <mhoellein@freenet.de>
Thu, 5 Jul 2018 04:25:08 +0000 (06:25 +0200)
committermhoellein <mhoellein@freenet.de>
Thu, 5 Jul 2018 04:25:08 +0000 (06:25 +0200)
.etckeeper
systemd/system/multi-user.target.wants/hmgw.service [new file with mode: 0644]

index 6bd08ae617e482bd1a53fd92d7992053100154d7..f319d134a8aba661341070e5375dec32f80c1e74 100755 (executable)
@@ -1057,6 +1057,7 @@ maybe chmod 0755 'systemd/system/getty@tty1.service.d'
 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'
diff --git a/systemd/system/multi-user.target.wants/hmgw.service b/systemd/system/multi-user.target.wants/hmgw.service
new file mode 100644 (file)
index 0000000..f535b56
--- /dev/null
@@ -0,0 +1,13 @@
+[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