Closed alexbbb closed 9 years ago
@alexbbb Thanks for testing this and pointing out, I will add Fedora support in next build.
I tried forever-service on an old test-machine and got this message of "not yet supported", too.
So I looked after my /etc/os-release file and there was no such file. Then I looked into /proc/version and it told me my distro and kernel version. And best of all, on a fedora machine it says that it is a Red Hat one.
Maybe you should check /proc/version instead of /etc/os-release, but I haven't tested this on other machines.
@stillagainst which release of Fedora it is on your test server?
I don't have access to it right now, but it looked sth like this one: Linux version 2.6.32.12-115.fc12.i686 (mockbuild@x86-03.phx2.fedoraproject.org) (gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) )
Just found out that some CentOS behaves similar: Linux version 2.6.32-71.el6.x86_64 (mockbuild@c6b6.centos.org) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) )
Edit: there is a file called /etc/issue , maybe that one helps, too.
I have added code pointed by @alexbbb, could not test in earlier version of Fedora, closing this for now. If someone wants earlier version of Fedora to be supported, please open another issue with exact version and similar details.
Hi and thank you for the excellent work! With the latest forever-service running on Fedora Server 21 32bit, I saw the following message
Fedora Server uses Systemd, but in /etc/init.d/README is stated that:
To test it, I've modified this line: https://github.com/zapty/forever-service/blob/master/templates/sysvinit/installer.js#L11 by adding |(Fedora):
and then when I ran forever-service again I was able to install the service and everything is working fine. I opened the issue to let you know that you can add Fedora to the list of supported systems.