Created
January 29, 2017 19:09
-
-
Save ddewaele/54f67b0e9afaa538c31723cd2f609e14 to your computer and use it in GitHub Desktop.
Nifi systemd service defintiion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[centos@ip-172-30-0-249 system]$ cat /etc/systemd/system/nifi.service | |
[Unit] | |
Description=Apache NiFi | |
After=network.target | |
[Service] | |
Type=forking | |
User=nifi | |
Group=nifi | |
ExecStart=/opt/nifi-latest/bin/nifi.sh start | |
ExecStop=/opt/nifi-latest/bin/nifi.sh stop | |
ExecRestart=/opt/nifi-latest/bin/nifi.sh restart | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment