aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/util.py')
-rw-r--r--torouterui/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/torouterui/util.py b/torouterui/util.py
index 16e7f57..78046da 100644
--- a/torouterui/util.py
+++ b/torouterui/util.py
@@ -20,7 +20,7 @@ def fs_read(path):
def enable_service(name):
#os.system('update-rc.d %s defaults &' % name)
- subprocess.Popen(['service', name, 'start'], close_fds=True)
+ subprocess.Popen(['service', name, 'restart'], close_fds=True)
def disable_service(name):
"""Currently, this is never actually called"""