Skip to content

Instantly share code, notes, and snippets.

@amiryal
Forked from ddewaele/nifi.service
Last active June 20, 2018 10:13
Show Gist options
  • Save amiryal/24d8089811457ca8bbdb9bede11eca6c to your computer and use it in GitHub Desktop.
Save amiryal/24d8089811457ca8bbdb9bede11eca6c to your computer and use it in GitHub Desktop.
Nifi systemd service defintiion
# /etc/systemd/system/nifi.service
[Unit]
Description=Apache NiFi
After=network.target
[Service]
Type=simple
User=nifi
Group=nifi
ExecStart=/opt/nifi-latest/bin/nifi.sh run
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment