Skip to main content
Participant
January 30, 2021
Question

Coldfusion2021 linux systemd system file

  • January 30, 2021
  • 1 reply
  • 1179 views
Where can I find Coldfusion2021 linux systemd system file or do we have to write at our end?
This topic has been closed for replies.

1 reply

Charlie Arehart
Community Expert
Community Expert
January 30, 2021

It may seem there's a simple answer, but a couple of things could influence both WHERE to find that and WHETHER you would find it.

 

First, did you use the traditional full installer for 2021? Or the new zip approach available as an alternative in 2021? If the latter, did you run the cfinstall script after that?

 

And in either case, did you choose the option during the install to have Linux create a service?

 

Finally, what distro are you running? And have you seen cf listed as a service with service or systemctl or whatever is your distro's means of running a service?

 

With those answered, the answer for your question will be more clear, or perhaps they will help you find it. Do please let us know either way. 

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
February 5, 2021

R. Ramgopal, did you resolve this?

 

I will add that technically the "linux systemd system file" for CF can be found as the file coldfusion in the CF cfusion/bin folder. (In some releases, there has been another called sysinit, which varied slightly.)

 

That coldfusion file can be used to start and stop CF , as you may know. But yes it can also be used as a systemd system file (or an etc/init.d file).

 

When I offered my answer above, I was talking about where/how those would be implemented AS services, whether as systemctl or init.d, and that WOULD depend on your distro and deployment. But maybe you did just need to hear that the coldfusion file is the systemd file. (And it's the cf-install-init.sh that is run by the CF installer if you tell it to setup a service, or you can run it after the fact directly.)

 

Let us know if any of this gets you going.

/Charlie (troubleshooter, carehart. org)
Participating Frequently
April 7, 2021

"And in either case, did you choose the option during the install to have Linux create a service?"

 

During setup we did not have an option to intall CF as service and CF was intalled as systemd service with cf2021 service name. We used traditional full installer and installed CF on RedHat 7.  We did not have silent installer answer file in place. 

 Becuase we run multiple child instances. (we have Enterprise license), we had to run cf-install-init.sh to install additional service for each child instance. We run cf-install-init.sh after we updated value of VERSION variable in sysinit file for each child instance.