summarylogtreecommitdiffstats
path: root/uchiwa.service
diff options
context:
space:
mode:
Diffstat (limited to 'uchiwa.service')
-rw-r--r--uchiwa.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/uchiwa.service b/uchiwa.service
new file mode 100644
index 000000000000..b2ce2f892063
--- /dev/null
+++ b/uchiwa.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Dashboard for the Sensu monitoring framework.
+After=syslog.target network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=simple
+WorkingDirectory=/opt/uchiwa
+ExecStart=/opt/uchiwa/bin/uchiwa -c /etc/sensu/uchiwa.json -d /etc/sensu/dashboard.d -p /opt/uchiwa/src/public
+User=uchiwa
+Group=uchiwa
+Restart=on-failure
+LimitNOFILE=10000
+
+[Install]
+WantedBy=multi-user.target