ctucx.git: smartied

[nimlang] smarthome server

commit 07e96a64e31a91f8b15b3748c987b32b4572f1ee
parent b8e7923f78be9180206e45b59faff2d7d0f8329c
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 3 Feb 2021 12:57:58 +0100

add systemd-service
1 file changed, 17 insertions(+), 0 deletions(-)
A
smartied.service
|
17
+++++++++++++++++
diff --git a/smartied.service b/smartied.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=smartied smarthome server
+Requires=network.target
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Environment=CONFIG_PATH=/etc/smartied.json
+ExecStart=/usr/bin/smartied
+Restart=on-failure
+RestartSec=1
+StandardOutput=journal
+StandardError=journal
+
+[Install]
+WantedBy=multi-user.targetq+
\ No newline at end of file