Summary: | net-irc/quassel - add systemd service for core | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konstantin (elxa) <ktrackfd> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.brachaczek, johu, net-irc, sputnick, systemd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 448882 | ||
Attachments: | systemd service unit for quassel core |
Description
Konstantin (elxa)
2014-04-22 19:24:19 UTC
Created attachment 375498 [details]
systemd service unit for quassel core
Thanks to thomasg from #gentoo.de for providing this service file !
It currently depends on postgresql, because it is one of (three?) possible sql backends (sqlite, mysql, postgresql) for quassel core. Maybe gentoo should ship a service template and set the appropriate dependencies in the service file according to the USE of quassel. Modify it as needed for you sql backend.
Actually there are some errors in that service file. I will upload a better one in a few days. I don't have enough time to test this right now. Drop the EnvironmentFile and related variables. Also drop the postgres stuff. If the sysadmin wants to change those values or use postgres, he is going to have to tweak the unit file by copying it to /etc/systemd/system or overriding values via /etc/systemd/system/quassel.service.d. Also, you don't need PIDFile for a non-forking service. +*quassel-0.10.0-r1 (02 May 2014) + + 02 May 2014; Pacho Ramos <pacho@gentoo.org> +files/quasselcore.service, + +quassel-0.10.0-r1.ebuild: + Add unit file (#508450 by Konstantin) + Just for the record. + + 03 May 2014; Johannes Huber <johu@gentoo.org> -quassel-0.10.0.ebuild, + quassel-9999.ebuild: + Add systemd unit file to live ebuild as well, bug #508450. Remove old. + |