transmission: improve systemd support
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sun, 19 Jul 2015 22:18:01 +0000 (00:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Jul 2015 21:54:41 +0000 (23:54 +0200)
commitc0f4bb97e4bc29b67bd1e17918cf3e694f137523
tree6ec7072b0000b74968aa3a3634268b58d0c646b6
parentcac3cf8f9c36140eb0f5cd76665c1fdb0b47676c
transmission: improve systemd support

Support running transmission-daemon in system-wide mode using systemd:

1. Pass --with-systemd-daemon to configure script if systemd is enabled.

2. Create the transmission user if having daemon

3. Install transmission-daemon.service for systemd.

[AurĂ©lien : Fix symlink relative path, use upstream service file,
no need for config path, and use transmission user in sysv script,
remove sysctl stuff]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
package/transmission/S92transmission
package/transmission/transmission.mk