Just to make it simple and clear, all I'm trying to do here is start the thing automatically when the system boots, which isn't often, but it does happen. I took a page from my old system and modified the init.d script, which looked reasonable at the time. Like I've always said to anybody who wanted to know, I'm the guy with just a little knowledge, and you know how they say a little knowledge is dangerous? Most times I can find my way back to daylight, and of course I've learned a lot along the way about what to do and not do, what to check and how to verify the results of those checks, but this one's really got me.
On 03/26/2015 03:29 PM, Steve Matzura wrote:> Just to make it simple and clear, all I'm trying to do here is start > the thing automatically when the system boots, which isn't often, but > it does happen. I took a page from my old system and modified the > init.d script, which looked reasonable at the time. Like I've always > said to anybody who wanted to know, I'm the guy with just a little > knowledge, and you know how they say a little knowledge is dangerous?I'm not sure why you want to add an init script here. The fedora package of Icecast does contain a service definition or an init script (depending on fedora version). As FC20 uses systemd you should regardless be able to control things using 'systemctl'. random page explaining it: http://dynacont.net/documentation/linux/Useful_SystemD_commands/ Could it be that you got confused due to the absence of the init script? If so, time to learn systemd. :-)> Most times I can find my way back to daylight, and of course I've > learned a lot along the way about what to do and not do, what to check > and how to verify the results of those checks, but this one's really > got me.Hehe, happens to all of us at times. Cheers Thomas
Thomas, you're a star! On Thu, 26 Mar 2015 16:31:13 +0000, you wrote:>I'm not sure why you want to add an init script here. >The fedora package of Icecast does contain a service definition or an >init script (depending on fedora version).If so, then I need to find it and discover why it's not firing.>Could it be that you got confused due to the absence of the init script? >If so, time to learn systemd. :-)Yes to both. I'm off!
OK, took a crash course in systemctl. Got the service properly enabled. However, got one odd error when I started it. Mar 26 18:06:10 {my-FQDN} icecast[839]: ERROR: You should not run icecast2 as root Mar 26 18:06:10 {my-FQDN} icecast[839]: Use the changeowner directive in the config file The XML shows: <changeowner> <user>nobody</user> <group>nogroup</group> </changeowner>