refs #2026 run stunnel in the foreground
parent
809af2cbc2
commit
2d6db5e475
|
@ -109,10 +109,13 @@ def updateCaCertificates():
|
||||||
utils.run (['update-ca-certificates'])
|
utils.run (['update-ca-certificates'])
|
||||||
|
|
||||||
def configure_stunnel():
|
def configure_stunnel():
|
||||||
|
print ('configure_stunnel', file=sys.stderr)
|
||||||
with open ('/etc/stunnel/menu.conf', 'w') as fd:
|
with open ('/etc/stunnel/menu.conf', 'w') as fd:
|
||||||
fd.write ('setuid = stunnel4\n')
|
fd.write ('setuid = stunnel4\n')
|
||||||
fd.write ('setgid = stunnel4\n')
|
fd.write ('setgid = stunnel4\n')
|
||||||
fd.write ('pid = /var/run/stunnel4/menu.pid\n')
|
fd.write ('pid = /var/run/stunnel4/menu.pid\n')
|
||||||
|
fd.write ('foreground = yes\n')
|
||||||
|
fd.write ('debug = info\n')
|
||||||
fd.write ('\n')
|
fd.write ('\n')
|
||||||
fd.write ('[menu]\n')
|
fd.write ('[menu]\n')
|
||||||
fd.write ('client = yes\n')
|
fd.write ('client = yes\n')
|
||||||
|
@ -128,6 +131,7 @@ def boottoolsPythonModules():
|
||||||
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
|
utils.run (['pip3', 'install', 'pyblkid', '--break-system-packages'])
|
||||||
|
|
||||||
def boottoolsRemovePackages():
|
def boottoolsRemovePackages():
|
||||||
|
print ('boottoolsRemovePackages', file=sys.stderr)
|
||||||
apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip'])
|
apt.remove (['python3-dev', 'python3-setuptools', 'python3-pip'])
|
||||||
|
|
||||||
def setup_resolvconf():
|
def setup_resolvconf():
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
OpenGnsys Client 3.3.0
|
OpenGnsys Client 3.4.0
|
||||||
|
|
Loading…
Reference in New Issue