summarylogtreecommitdiffstats
path: root/tideways-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'tideways-daemon.service')
-rw-r--r--tideways-daemon.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/tideways-daemon.service b/tideways-daemon.service
new file mode 100644
index 000000000000..45d666d59007
--- /dev/null
+++ b/tideways-daemon.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Tideways Profiler Daemon
+After=network.target
+
+[Service]
+Type=simple
+User=tideways
+Group=tideways
+ExecStart=/usr/bin/tideways-daemon -pidfile=/run/tideways/tideways-daemon.pid -log=/var/log/tideways/daemon.log
+PIDFile=/run/tideways/tideways-daemon.pid
+Restart=always
+
+[Install]
+WantedBy=multi-user.target