user defined service help

cornel panceac cpanceac at gmail.com
Wed May 4 18:10:27 UTC 2011


2011/5/4 Brian Millett <bmillett at gmail.com>

> I want to create my own jboss service.  I created a jboss7.service and
> placed it in /usr/lib/systemd/user/jboss7.service
>
> This is what it is:
>
> __BEGIN__
> [Unit]
> Description=JBoss AS 7 domain server
> After=local-fs.target network.target
>
> [Service]
> Type=simple
> ExecStart=/opt/jboss/bin/domain.sh
> NonBlocking=yes
>
> [Install]
> WantedBy=multi-user.target
> __END__
>
> But, I kind of run out of steam there.  What are the steps to setup my
> own service?
>
> Thanks.
>

have you created a link to it in multi-user.target.wants directory?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/test/attachments/20110504/8575f0c9/attachment.html 


More information about the test mailing list