Skip to content
Snippets Groups Projects
Commit 37da1490 authored by Nathan Rodet's avatar Nathan Rodet
Browse files

Added ttyd service

parent 9332d7c8
No related branches found
No related tags found
4 merge requests!6End of development,!5Develop,!4End of development,!3Develop
Pipeline #50520 passed
......@@ -8,6 +8,6 @@ mkdir -p /root/ttyd
curl https://github.com/tsl0922/ttyd/releases/download/1.7.2/ttyd.x86_64 -o root/ttyd/ttyd.x86_64
chmod +x /root/ttyd/ttyd.x86_64
curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/config-files/ttyd.service -o etc/systemd/system/ttyd.service
sed -i "s|%user_password%|$(scw-userdata atrium_count_index)|g" /etc/systemd/system/ttyd.service
sed -i "s|%user_password%|$(scw-userdata user_password)|g" /etc/systemd/system/ttyd.service
systemctl enable ttyd.service && systemctl start ttyd.service
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment