Hi Tristan,

I don't think that creating symlinks of the Upstart configs in /etc/init.d/ 
is a good idea. Users might want to run those "init scripts" and it will 
fail miserably. It's rather a problem of the bash-completion in Ubuntu and 
we shouldn't try to work around that.

I'd rather add dummy scripts to /etc/init.d/ which print an informational 
message on how to start Graylog2 on Ubuntu.


Cheers,
Jochen
 

Am Mittwoch, 26. November 2014 00:28:32 UTC+1 schrieb Tristan Rhodes:
>
> I recently installed the Graylog2 0.91.3-1 Debian package on Ubuntu 
> 14.04.1.
>
> Being new to upstart, I was confused when tab-completion of the "service" 
> command didn't list any Graylog options.  I believe this is because Debian 
> is expecting Upstart services to place a symbolic link inside the 
> "/etc/init.d/" directory.
>
>
> http://askubuntu.com/questions/315027/why-dont-custom-upstart-job-names-tab-complete-in-the-service-command
>
> Once I ran these two commands, I was able to use tab-completion with 
> "service" to start and stop the Graylog processes.
>
>  sudo ln -s /etc/init/graylog2-server.conf /etc/init.d/graylog2-server
>
>  sudo ln -s /etc/init/graylog2-web.conf /etc/init.d/graylog2-web
>
> Cheers,
>
> Tristan
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to