[arch-general] manage starting and stopping processes with less typing

David Rosenstrauch darose at darose.net
Tue Apr 13 17:23:29 EDT 2010

On 04/13/2010 03:22 PM, David C. Rankin wrote:
> Guys,
> 	One thing I miss with Arch are init-script shortcuts for starting and stopping
> processes. rc-commands really help cut down on typing. For example, all suse did
> was to create links to the files in /etc/rc.d/... with a naming convention of
> rc<init script name>. So, for example, instead of having to type:
>    /etc/rc.d/postfix
> the shortcut was simply
>    rcpostfix

The way I usually handle this is to create an executable shell script in 
my ~/bin directory (which is on my path) and in /root/bin called 
"service".  It looks like so:


Then I can use RedHat-like syntax to start and stop services:

$ sudo service httpd restart



More information about the arch-general mailing list