To tired to type /etc/init.d/ theres a better way…

Why is the most-often needed folder in /etc named so poorly !? (e.g. tabbing does not work)

sudo ln -s /etc/init.d /etc/i

now....
sudo /etc/i/apache2 restart
feels much better...
Advertisements

One thought on “To tired to type /etc/init.d/ theres a better way…

  1. Hopefully more services will be switched over from initd to Ubuntu Upstart
    http://upstart.ubuntu.com/getting-started.html

    For my own services I now exclusively use upstart. Then I can use `start wiki` or `restart gem-server` for managing services. Instead of complicated init.d a config file like following is enough:

    $ cat /etc/init/wiki.conf
    start on startup
    stop on shutdown
    start on runlevel 2
    exec /home/vd/projects/home-wiki/run.ru
    respawn

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s