Hi David,

this is how it works with my Debian based installation.

[Unit]
Description=Apache Nifi
After=network.target
[Service]
Type=forking
ExecStart=/opt/nifi/bin/nifi.sh start
[Install]
WantedBy=multi-user.target


Regards
Heiko


From: David Gallagher <dgallag...@cleverdevices.com>
Sent: Wednesday, April 30, 2025 12:07 AM
To: users@nifi.apache.org
Subject: Installation as a service on Ubuntu VM

You don't often get email from 
dgallag...@cleverdevices.com<mailto:dgallag...@cleverdevices.com>. Learn why 
this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi - is there any guidance on how to create a systemd service definition for 
NiFi 2.x? I'm finding it very difficult to create a working one, and a lot of 
the advice online is apparently very out of date.

Thanks,

Dave

Reply via email to