aboutsummaryrefslogtreecommitdiff
path: root/src/service
diff options
context:
space:
mode:
Diffstat (limited to 'src/service')
-rw-r--r--src/service/watcher.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/service/watcher.service b/src/service/watcher.service
new file mode 100644
index 0000000..85921f1
--- /dev/null
+++ b/src/service/watcher.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Get the perspective of Watcher
+
+[Service]
+ExecStart=/bin/python /usr/share/Watcher/log_files.py
+Type=simple
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target