Map service

This commit is contained in:
Simen Røstvik 2022-11-17 10:17:45 +01:00
parent f40caf6721
commit 7d7a98b96f

View File

@ -39,9 +39,9 @@ spec:
mountPath: /config mountPath: /config
- name: dshm - name: dshm
mountPath: /dev/shm mountPath: /dev/shm
- mountPath: /custom-cont-init.d - mountPath: /etc/s6-overlay/s6-rc.d/svc-xrdp-sesman/run
subPath: run
name: config name: config
readOnly: true
volumes: volumes:
- name: vol - name: vol
@ -77,7 +77,12 @@ metadata:
name: firefox-edit name: firefox-edit
data: data:
settings: | settings: |
#!/usr/bin/with-contenv bash #! /usr/bin/execlineb -P
#shellcheck shell=bash
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