Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497464 - net-im/openfire should install a systemd unit file
Summary: net-im/openfire should install a systemd unit file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-01-07 23:57 UTC by Michael Jones
Modified: 2014-01-11 20:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2014-01-07 23:57:07 UTC
The openfire ebuild should provide a systemd unit file, say /usr/lib/systemd/system/openfire.service.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-01-11 11:46:44 UTC
+*openfire-3.8.2-r1 (11 Jan 2014)
+
+  11 Jan 2014; Pacho Ramos <pacho@gentoo.org> +files/openfire.service,
+  +openfire-3.8.2-r1.ebuild:
+  Add unit file (#497464)
+
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-01-11 15:54:52 UTC
(In reply to Pacho Ramos from comment #1)
> +*openfire-3.8.2-r1 (11 Jan 2014)
> +
> +  11 Jan 2014; Pacho Ramos <pacho@gentoo.org> +files/openfire.service,
> +  +openfire-3.8.2-r1.ebuild:
> +  Add unit file (#497464)
> +

It might be not enough to make thing run.
init script has such a workaround:
    [ -d /var/run/jabber ] || mkdir /var/run/jabber
I guess it also needs a tmpfiles.d bit (bug #423367)
Comment 3 Pacho Ramos gentoo-dev 2014-01-11 16:09:13 UTC
tmpfiles should handle it indeed, anyway, I though /var/run/jabber was only needed for pidfile and, in that case, it is not needed for service file since we don't need to run "--background" like done in init.d script
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2014-01-11 17:27:19 UTC
(In reply to Pacho Ramos from comment #3)
> tmpfiles should handle it indeed, anyway, I though /var/run/jabber was only
> needed for pidfile and, in that case, it is not needed for service file
> since we don't need to run "--background" like done in init.d script

Oh, right. It's only pid file there. Sorry for the noise.
Comment 5 Pacho Ramos gentoo-dev 2014-01-11 20:15:13 UTC
No problem :)