Tahaan / proxymanager

Tool to enable or disable the configured proxy server for a wide range of programs
GNU General Public License v3.0
8 stars 5 forks source link

Auto-select upstart, systemd or sysvinit #22

Open Tahaan opened 10 years ago

Tahaan commented 10 years ago

There is currently no support for various service management frameworks. Most services are controlled simply by calling /etc/init.d/servicename

ProxyManager should check whether a service is configured in a service framework, particularly Upstart or SystemD. It should then use the applicable commands to restart or query the status of the service. It may fall back to using the scripts in /etc/init.d/ if no other option is found.