ansible/roles/container/files/link-ptmx.service

9 lines
196 B
Desktop File

[Unit]
Description=Symlink /dev/ptmx for interactive logins
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/chmod 777 /dev/pts/ptmx
ExecStart=/usr/bin/ln -s /dev/pts/ptmx /dev/ptmx