Re: How to start Tor only when network works in upstart framework?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yuan Yijun wrote:
Hi,

I use NetworkManager to connect to wifi network (WEP encrypted). Tor
daemon should be started after connection established. Everyday I have
to start Tor service manually. How to use upstart to do this?


There is probably a better way, but checking the exit code of:

  nm-tool | grep -e 'Active.* yes'

might do what you want.

BTW, when starting Tor I have to run "setenforce 0" then set to 1 when
started. Is this only happening to me?


Thanks!

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux