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

TTYD

parent 7d18ce56
No related branches found
No related tags found
No related merge requests found
...@@ -10,4 +10,4 @@ chmod +x /root/ttyd/ttyd.x86_64 ...@@ -10,4 +10,4 @@ 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 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 user_password)|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 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.
Please register or to comment