Archives / Snippets / Projets

Wetty

sudo npm i -g wetty.js

"""

https://github.com/krishnasrinivas/wetty/issues/44#issuecomment-179102722

[Unit] Description=Wetty - Web TTY After=network.target auditd.service sshd.service

[Service] ExecStart=/usr/bin/node /usr/local/lib/node_modules/wetty.js/index.js -p 3000 --sslkey /etc/letsencrypt/live/code.ljouhet.net/privkey.pem --sslcert /etc/letsencrypt/live/code.ljouhet.net/cert.pem Restart=always

[Install] WantedBy=multi-user.target """

Ubuntu : Service

sudo systemctl daemon-reload
sudo service wetty restart
sudo service wetty status