Bug 770292 - Provide native systemd service
Summary: Provide native systemd service
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jabberd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adrian Reber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 751869
TreeView+ depends on / blocked
 
Reported: 2011-12-25 17:39 UTC by Jóhann B. Guðmundsson
Modified: 2012-03-24 21:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-24 21:17:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Native systemd unit file for jabberd (418 bytes, text/plain)
2011-12-25 17:41 UTC, Jóhann B. Guðmundsson
no flags Details
Native systemd unit file for jabber client to server (260 bytes, text/plain)
2011-12-25 17:42 UTC, Jóhann B. Guðmundsson
no flags Details
Native systemd unit file for jabber router (260 bytes, text/plain)
2011-12-25 17:42 UTC, Jóhann B. Guðmundsson
no flags Details
Native systemd unit file for jabber server to server (260 bytes, text/plain)
2011-12-25 17:43 UTC, Jóhann B. Guðmundsson
no flags Details
Native systemd unit file for jabber im session manager (195 bytes, text/plain)
2011-12-25 17:44 UTC, Jóhann B. Guðmundsson
no flags Details
The missing jabber router service (215 bytes, text/plain)
2012-03-21 22:14 UTC, Jóhann B. Guðmundsson
no flags Details

Description Jóhann B. Guðmundsson 2011-12-25 17:39:44 UTC
Description of problem:

Let's get the ball rolling on this one...

http://fedoraproject.org/wiki/Features/SysVtoSystemd
https://fedoraproject.org/wiki/Packaging:Guidelines:Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jóhann B. Guðmundsson 2011-12-25 17:41:34 UTC
Created attachment 549497 [details]
Native systemd unit file for jabberd

This is just a dummy unit that controls the startup and stopping of all the other units and keeps backwards compatibility to the legacy sysv init script

Comment 2 Jóhann B. Guðmundsson 2011-12-25 17:42:17 UTC
Created attachment 549498 [details]
Native systemd unit file for jabber client to server

Comment 3 Jóhann B. Guðmundsson 2011-12-25 17:42:54 UTC
Created attachment 549499 [details]
Native systemd unit file for jabber router

Comment 4 Jóhann B. Guðmundsson 2011-12-25 17:43:30 UTC
Created attachment 549500 [details]
Native systemd unit file for jabber server to server

Comment 5 Jóhann B. Guðmundsson 2011-12-25 17:44:55 UTC
Created attachment 549501 [details]
Native systemd unit file for jabber im session manager

Comment 6 Jóhann B. Guðmundsson 2011-12-25 17:46:54 UTC
To test this drop all the files into /etc/systemd/system directory and run 
systemctl daemon-reload

systemctl start jabberd.service

systemctl status jabberd.service jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service

systemctl stop jabberd.service

systemctl status jabberd.service jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service

Comment 7 Adrian Reber 2012-03-21 12:13:05 UTC
Thanks for your help. Trying to integrate those unit files into the package.

Comment 8 Adrian Reber 2012-03-21 12:19:46 UTC
Do you still have the jabber-router.service file. The one attached here is wrong.

Comment 9 Jóhann B. Guðmundsson 2012-03-21 15:21:13 UTC
Hmm what do you mean wrong?

Comment 10 Adrian Reber 2012-03-21 21:41:58 UTC
Clicking on "Native systemd unit file for jabber router" downloads the s2s file and not the router file. The description is correct but the file seems to be the same as the server to server file.

Comment 11 Jóhann B. Guðmundsson 2012-03-21 22:14:14 UTC
Created attachment 571879 [details]
The missing jabber router service

Comment 12 Adrian Reber 2012-03-24 21:17:16 UTC
Thanks a lot for your systemd scripts. Included in: jabberd-2.2.14-3.fc18


Note You need to log in before you can comment on or make changes to this bug.