Map service
This commit is contained in:
parent
f40caf6721
commit
7d7a98b96f
@ -39,9 +39,9 @@ spec:
|
||||
mountPath: /config
|
||||
- name: dshm
|
||||
mountPath: /dev/shm
|
||||
- mountPath: /custom-cont-init.d
|
||||
- mountPath: /etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run
|
||||
subPath: run
|
||||
name: config
|
||||
readOnly: true
|
||||
|
||||
volumes:
|
||||
- name: vol
|
||||
@ -77,7 +77,12 @@ metadata:
|
||||
name: firefox-edit
|
||||
data:
|
||||
settings: |
|
||||
#!/usr/bin/with-contenv bash
|
||||
#shellcheck shell=bash
|
||||
#! /usr/bin/execlineb -P
|
||||
|
||||
sed -i 's/;ListenAddress.*/ListenAddress=127.0.0.1/' /etc/xrdp/sesman.ini
|
||||
# Redirect stderr to stdout.
|
||||
fdmove -c 2 1
|
||||
|
||||
# Notify service manager when xrdp is up
|
||||
#s6-notifyoncheck -w 500 -c "nc -z localhost 3350"
|
||||
|
||||
/usr/sbin/xrdp-sesman --nodaemon
|
||||
|
Loading…
Reference in New Issue
Block a user