Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483950

Summary: net-p2p/transmission - install a service file for systemd
Product: Gentoo Linux Reporter: Dmitry <dmitry.ashkadov>
Component: Current packagesAssignee: Samuli Suominen (RETIRED) <ssuominen>
Status: RESOLVED FIXED    
Severity: normal CC: net-p2p, systemd
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: Service for systemd
Configuration file for tmpfiles.d

Description Dmitry 2013-09-06 07:51:01 UTC
Hello!

Please provide transmission-daemon.service for systemd. I have attached examples:

* transmission-daemon.service - simple example of service for systemd. But it should get command options from some configuration file in /etc.

* transmission.conf - configuration file for tmpfiles.d for creating directory for pid file. it should be created during installation because user can start transmission without rebooting (magic folder will be automatically created during boot).

Thank you.
Comment 1 Dmitry 2013-09-06 07:51:30 UTC
Created attachment 358010 [details]
Service for systemd
Comment 2 Dmitry 2013-09-06 07:51:56 UTC
Created attachment 358012 [details]
Configuration file for tmpfiles.d
Comment 3 Pacho Ramos gentoo-dev 2013-09-06 18:22:34 UTC
I think it's much better to stick with upstream unit files (as other distributions like Arch or Fedora are doing)

+  06 Sep 2013; Pacho Ramos <pacho@gentoo.org> +transmission-2.81-r1.ebuild,
+  +transmission-2.82-r1.ebuild:
+  Install upstream systemd unit file
+