Page 1 of 1

Fedora Installer and Service Issues

PostPosted: Wed Nov 13, 2019 3:35 am
by GnEeErKd
I used the 6.1.6 RPM to install Subsonic and noticed three things worth pointing out for future updates:
1) The installation tries to use 'service' to stop and start the service, but this is no longer supported in Fedora; it now uses 'systemctl start subsonic' and 'systemctl stop subsonic'. I had to manually stop and start the processes for the installation to go smoothly
2) The init.d script tries to source the function library from /etc/init.d/functions on line 41, but this doesn't exist. I'm not sure what it was trying to get from that, however. Is it not necessary?
3) The init.d script tries to use 'killproc -p $PIDFILE $DAEMON' on line 77, but killproc is not a standard utility in Fedora. I changed that line to " kill -9 `cat $PIDFILE` " but there is probably a more graceful option.

Aside from that, things appear to be going smoothly so far. Thanks!