[Unit] Description=sethmux - web terminal (mux.sethpc.xyz) After=network.target [Service] Type=simple User=rdp Group=rdp ExecStartPre=/opt/sethmux/sethmux-start.sh ExecStart=/usr/local/bin/ttyd \ --port 7683 \ --interface 0.0.0.0 \ --index /opt/sethmux/index.html \ --writable \ --check-origin \ --max-clients 5 \ --ping-interval 30 \ --client-option titleFixed=sethmux \ --client-option fontSize=18 \ --client-option fontFamily=monospace \ --client-option enableSixel=true \ /usr/bin/tmux attach-session -t sethmux Restart=always RestartSec=3 [Install] WantedBy=multi-user.target