the opam install puts the liquidsoap binary into ~/.opam/system/bin

you need to copy it into /usr/bin to use the init.d script (or you could
edit the init.d script.. but I personally do not like to run system 'stuff'
from any user directory.

Nick

On Mon, Apr 4, 2016 at 1:54 PM, Steffen "TechMac" Pfaffinger <
[email protected]> wrote:

> Ok i get: start-stop-daemon: unable to stat /usr/bin/liquidsoap (No such
> file or directory)
> what do i have to set as exec when liquidsoap is installed via opam
>
> Am 04.04.16 um 19:39 schrieb unosonic:
> > Steffen TechMac Pfaffinger:
> >> init.d script for starting and stoppign the ls server and start it on
> >> boot. Like you can have with shoutcast/icecast.
> > why don't you try the one pointed at below?
> > It will work, probably with minor changes, depending on your Linux.
> > or you could look at another init script on your system and adapt it
> > to your needs.
> >
> >
> >>> Actually as of now you have to sudo to start  init.d stuff which makes
> sence. So I don't think you can do this.
> > sure you can. that's how daemons are started usually.
> > scripts are run by root on startup, then they change owner, working dir
> etc.
> > no need for sudo here.
> >
> > --u
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to