Run personalized service on machine startup
Oliver Grawert
ogra at ubuntu.com
Fri Mar 1 23:54:51 UTC 2013
hi,
On Fr, 2013-03-01 at 18:23 -0500, Adam Tong wrote:
> Hi,
>
> I created a daemon, and configured it to be run as a service (named
> "myservice").
>
> Now I want to launch this new service when the machine starts up.
>
> I tried the following:
>
> sudo update-rc.d myservice defaults
>
> and
>
> sudo update-rc.d myservice defaults 98 02
>
> But it did not work.
>
> Can you help?
how about http://upstart.ubuntu.com/cookbook/
and specifically:
http://upstart.ubuntu.com/cookbook/#run-a-job-as-soon-as-possible-after-boot
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130302/d1862475/attachment.sig>
More information about the ubuntu-users
mailing list