about summary refs log tree commit diff
path: root/tracer.service
diff options
context:
space:
mode:
Diffstat (limited to 'tracer.service')
-rw-r--r--tracer.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/tracer.service b/tracer.service
new file mode 100644
index 0000000..e65f3c7
--- /dev/null
+++ b/tracer.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=tracer
+After=tracer.service
+
+[Service]
+Type=simple
+WorkingDirectory=/home/ben/workspace/tracer
+ExecStart=/home/ben/workspace/tracer/tracer.py
+Restart=always
+RestartSec=5
+StartLimitInterval=60s
+StartLimitBurst=3
+
+[Install]
+WantedBy=default.target
+