Re: [tor-dev] RPM: migration to systemd service

2014-08-15 Thread Ondrej Mikle
On Thu, Aug 14, 2014 at 4:47 PM, Nusenu < bm-2d8wmevggvy76je1wxnpfo8srpzt5yg...@bitmessage.ch> wrote: > > >> Ondrej Mikle: > >>> If possible, I'd like to avoid the if-defs. Do you perhaps have > >>> a tip how to make the spec file "nice" and have it work both > >>> with old startup script and syst

Re: [tor-dev] RPM: migration to systemd service

2014-08-14 Thread Nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 >> Ondrej Mikle: >>> If possible, I'd like to avoid the if-defs. Do you perhaps have >>> a tip how to make the spec file "nice" and have it work both >>> with old startup script and systemd? Maybe some patch? >> >> I would not mind having clean sepa

Re: [tor-dev] RPM: migration to systemd service

2014-08-14 Thread Ondrej Mikle
On Tue, Aug 12, 2014 at 6:47 PM, Nusenu < bm-2d8wmevggvy76je1wxnpfo8srpzt5yg...@bitmessage.ch> wrote: > > Ondrej Mikle: > > If possible, I'd like to avoid the if-defs. Do you perhaps have a > > tip how to make the spec file "nice" and have it work both with > > old startup script and systemd? Mayb

Re: [tor-dev] RPM: migration to systemd service

2014-08-12 Thread Nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ondrej Mikle: > If possible, I'd like to avoid the if-defs. Do you perhaps have a > tip how to make the spec file "nice" and have it work both with > old startup script and systemd? Maybe some patch? I would not mind having clean separated per-dist

Re: [tor-dev] RPM: migration to systemd service

2014-08-11 Thread Ondrej Mikle
On 08/10/2014 10:40 AM, Nusenu wrote: > Nusenu: While reading fedora's tor.spec [1], I noticed #8368 [2] and the > fact that tor includes already a systemd service file but the RPMs do not > make use of it yet? I have looked at the tor.spec files - current one, EPEL one and Fedora one, trying to

Re: [tor-dev] RPM: migration to systemd service

2014-08-10 Thread Nusenu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Nusenu: > Hi Ondrej, > > I filed a bug regarding the rpm packages [1]: "hardcoding" config > options in torctl. > > Please let me also know what you think about migrating to systemd. While reading fedora's tor.spec [1], I noticed #8368 [2] and t