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 <[email protected]>
Sent: Wednesday, April 30, 2025 12:07 AM
To: [email protected]
Subject: Installation as a service on Ubuntu VM

You don't often get email from 
[email protected]<mailto:[email protected]>. 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