zapty / forever-service

Provision node script as a service via forever, allowing it to automatically start on boot, working across various Linux distros and OS
https://github.com/zapty/forever-service
MIT License
594 stars 65 forks source link

centos : This platform is not yet supported by forever-service #23

Closed nvcken closed 9 years ago

nvcken commented 9 years ago

My platform is cat /etc/*release CentOS release 5.10 (Final)

arvind-agarwal commented 9 years ago

Can you paste contents of /etc/system-release file

nvcken commented 9 years ago

It has not /etc/system-release file

arvind-agarwal commented 9 years ago

so which release file it has in /etc/ for which you have put the content?

is it /etc/os-release?

nvcken commented 9 years ago

/etc/redhat-release

nvcken commented 9 years ago

should I create system-release which copied of redhat-release

arvind-agarwal commented 9 years ago

Oh ok. A quick word around would be to copy redhat-release file to /etc/system-release file and it should work. Looks like older release of CentOS never had /etc/system-release file on which forever-service is relying to check the OS.