1

I installed the smuxi-engine package on my Ubuntu 14.04 server which contains the smuxi-server binary. But I do not see instructions anywhere on configuring it to run as a service.

Is there a way to do this?

1 Answer 1

1
  • Create an upstart configuration file:

    sudo nano /etc/init/smuxi-server.conf

    start on runlevel [2345]
    stop on runlevel [016]
    
    exec /usr/bin/smuxi-server
    
  • Now, smuxi-server will start on boot and you can control as any service (upstart job).

    sudo service smuxi-server [start|stop|restart|status]
    sudo [start|stop|restart|status] smuxi-server
    
  • That was the minimum configuration, To learn about available options see Upstart Intro, Cookbook and Best Practises

2
  • 1
    I have a pending edit, the stop on runlevel should be 016 not 06 Jun 20, 2014 at 21:31
  • @postfuturist, Thank you I didn't notice that.
    – user.dz
    Jun 20, 2014 at 21:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .