summarylogtreecommitdiffstats
path: root/nifi.service
diff options
context:
space:
mode:
Diffstat (limited to 'nifi.service')
-rw-r--r--nifi.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/nifi.service b/nifi.service
new file mode 100644
index 00000000000..298157ee3c4
--- /dev/null
+++ b/nifi.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Apache Nifi
+After=network.target
+
+[Service]
+Type=forking
+Restart=always
+User=nifi
+ExecStart=/opt/nifi/bin/nifi.sh start
+ExecStop=/opt/nifi/bin/nifi.sh stop
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file