Transmission and Deluge sysv to systemd
tomek at pipebreaker.pl
Wed Sep 7 14:50:04 UTC 2011
On Wed, Sep 07, 2011 at 02:43:56PM +0000, "Jóhann B. Guðmundsson" wrote:
> >>>> Here is a service file for transmission
> >>>> https://github.com/eventhorizonpl/systemd-services/blob/master/transmission-daemon.service
> >>> From the looks of it missing an
> > I uploaded a new version with this command and changes suggested by
> > Tomasz Torcz.
> Your unit file is still incomplete
> 2. If using an EnvironmentFile= we add '-' in front of the path.
> 3. Adding the -f has the daemon stuck in foreground leaving the user
> waiting for the command to complete
Note that Type=forking is removed in new version, so it defaults to
Type=simple and DTRT.
(I would prefer dropping sysconfig file altogether, like Lennart suggested
some time ago. And few other. It should work with only ExecStart= and User=
Tomasz Torcz There exists no separation between gods and men:
xmpp: zdzichubg at chrome.pl one blends softly casual into the other.
More information about the devel