3 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
f2b4dca4eb actions: Add more action utilities
- Utilities for enabling, disabling, restarting and getting enabled
  status of a service.

- Currently they are based on systemd but they can be extended to work
  with sysvinit also.

- Enable and disable also synchronize state with sysvinit.
2015-05-27 22:45:18 +05:30
fonfon
b3da314560 use util.service_is_running for tor also 2015-05-03 09:44:46 +02:00
fonfon
3f2c9ff2c8 cleaned up actions and configuration form 2015-05-03 09:44:46 +02:00