changeset 2339 | 48b4eba13064 |
parent 2328 | 7eb6cb70bf5b |
child 2492 | 7dd551ac2fa0 |
--- a/runtime/Stunnel.py Mon Nov 19 10:39:50 2018 +0100 +++ b/runtime/Stunnel.py Tue Nov 20 11:32:42 2018 +0100 @@ -1,6 +1,9 @@ import os from binascii import b2a_hqx -from runtime.spawn_subprocess import call +try: + from runtime.spawn_subprocess import call +except ImportError: + from subprocess import call restart_stunnel_cmdline = ["/etc/init.d/S50stunnel","restart"]