Could we have options added to the service and/or servicesetup scripts to enable (chmod 775) the service without actually starting it in a similar way to chkconfig?
Thanks.
			
			
									
						
							service/servicesetup chkconfig functions
Re: service/servicesetup chkconfig functions
Hmm... well... adding enable/disable options in the service command is not hard at all. Adding it to the servicesetup script or gtkservicesetup would make the gui needlessly complex though. But even for the service command I'm not convinced of it's usefulness. Running
is just as easy as
in my opinion.
			
			
									
						
										
						Code: Select all
chmod 755 /etc/rc.d/rc.fooCode: Select all
service enable fooRe: service/servicesetup chkconfig functions
I'd use on/off instead of enable/disable to make it worth while but it's up to you.
			
			
									
						
										
						Re: service/servicesetup chkconfig functions
I agreegapan wrote:Hmm... well... adding enable/disable options in the service command is not hard at all. Adding it to the servicesetup script or gtkservicesetup would make the gui needlessly complex though. But even for the service command I'm not convinced of it's usefulness. Runningis just as easy asCode: Select all
chmod 755 /etc/rc.d/rc.fooin my opinion.Code: Select all
service enable foo
Re: service/servicesetup chkconfig functions
Then again, it's just as easy to do
...as it is to do
Just a thought 
			
			
									
						
										
						Code: Select all
/etc/rc.d/rc.foo startCode: Select all
service start fooRe: service/servicesetup chkconfig functions
And this is exactly what I do  
  
			
			
									
						
										
						Re: service/servicesetup chkconfig functions
That's also what I do if I want to just start the service. But "service start foo" also chmods it, so it's actually the equivalent of
			
			
									
						
										
						Code: Select all
chmod +x /etc/rc.d/rc.foo
/etc/rc.d/rc.foo start


