I haven't had time to try it out, but the code for the install part is in nifi-registry.sh here:
https://github.com/apache/nifi-registry/blob/master/nifi-registry-core/nifi-registry-resources/src/main/resources/bin/nifi-registry.sh#L170-L248 It should be creating the service file in /etc/init.d based on these lines: initd_dir='/etc/init.d' SVC_FILE="${initd_dir}/${SVC_NAME}" And then it calls cat to SVC_FILE with inline content. -Bryan On Fri, Aug 23, 2019 at 1:41 PM Qiong Wei <q...@microsoft.com> wrote: > > Hi Bryan, > > Thanks a lot for your response. > > After the install command, it shows service nifi-registry installed, but > actually I cannot find nifi-registry under /etc/init.d. The OS I'm using is > Ubuntu 18.04-LTS. > > Thanks, > Qiong > > -----Original Message----- > From: Bryan Bende <bbe...@gmail.com> > Sent: Friday, August 23, 2019 9:57 AM > To: users@nifi.apache.org > Subject: Re: Installing nifi-registry as service > > Hello, > > Does it look like the service is correctly installed in > /etc/init.d/nifi-registry ? > > Also, what operating system? > > -Bryan > > On Fri, Aug 23, 2019 at 12:26 PM Qiong Wei <q...@microsoft.com> wrote: > > > > Hi All, > > > > > > > > I’m new to NiFi-Registry, now trying to install NiFi-Registry as a service, > > here are the command I run: > > > > > > > > sudo ./opt/nifi-registry/bin/nifi-registry.sh install > > > > Output: Service nifi-registry installed > > > > sudo service nifi-registry start > > > > Output: Failed to start nifi-registry.service: Unit nifi-registry.service > > not found. > > > > > > > > Do you guys have any idea about this issue? Thanks a lot. > > > > > > > > Best, > > > > Qiong