Yeah, I checked the code, and run the install command again. The SVC_FILE was created under /etc/init.d, however, it complains unit nifi-registry.service not found when starting the service.
Thanks, Qiong -----Original Message----- From: Bryan Bende <bbe...@gmail.com> Sent: Friday, August 23, 2019 11:54 AM To: users@nifi.apache.org Subject: Re: Installing nifi-registry as service I haven't had time to try it out, but the code for the install part is in nifi-registry.sh here: https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fnifi-registry%2Fblob%2Fmaster%2Fnifi-registry-core%2Fnifi-registry-resources%2Fsrc%2Fmain%2Fresources%2Fbin%2Fnifi-registry.sh%23L170-L248&data=02%7C01%7Cqiwe%40microsoft.com%7Cd238debc72044d71f3d808d727fb4a99%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637021832550575713&sdata=kVEcAs9SLL%2FmWeMa6VvEGt3nprU58llYnFGmDGPSLnw%3D&reserved=0 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