[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help packaging OpenTibia Server



On Wed, Mar 18, 2009 at 06:06, Paul Wise <pabs@debian.org> wrote:
>
> 2009/3/18 Ivan Vučica <ivucica@gmail.com>:
>
> Take a look at /etc/init.d/skeleton

So, all I do in my packaging is write /etc/init.d/otserv based on the skeleton,
and then add a symlink into /etc/rcX.d? That's the proper way? No tricks?

>
> libdaemon might be useful for that:
>
> http://packages.debian.org/sid/libdaemon0

I'll suggest it to the team :)

>
> > How to properly write a script which would create (and upon
> > uninstallation remove) the user 'otserv' under which privileges the
> > server should run?
>
> Check the postinst of other pacages that do a similar thing.

Thanks, looks like mysql does that in preinst. I thought I would have to
look at the source package :)

>
> I'm not sure if the above stuff is nessecary, will most people want to
> have OpenTibia Server running continuously or will they just run it
> when needed?

Actually, although that was unusual for OTServ a few years ago,
numerous people host "serious" servers running 24/7.

See:
http://otservlist.org/

So, while it is not necessary, I think OTServ has matured enough to
be "worthy" of init.d script :)
--
Regards,

Ivan Vučica

OBJECT Networks :: www.objectnetworks.net
Cateia Games :: www.cateia.com
Zagrebački računalni savez :: www.zrs.hr
ivan@vucica.net :: ivan.vucica.net


Reply to: