Skip to content
Snippets Groups Projects
Verified Commit 8c9cd7d7 authored by Ezri's avatar Ezri :upside_down:
Browse files

finish code-server


Signed-off-by: default avatarEric Zhu <eric@korzq.xyz>
parent 11a49aa3
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,13 @@ get the file:
file.managed:
- name: /etc/systemd/system/codeserver.service
- source:
- salt://states/code/files/code-server.service
- salt://code/files/code-server.service
start_codeserver:
service.running:
- name: codeserver
- enable: True
get_password:
cmd.run:
- name: sleep 15 && /bin/journalctl -u codeserver | /bin/grep Password | /usr/bin/tail -c 24
......@@ -6,7 +6,7 @@ After=syslog.target network.target
User=0
Group=0
WorkingDirectory=/root
ExecStart=./code-server1.1156-vsc1.33.1-linux-x64/code-server
ExecStart=/root/code-server1.1156-vsc1.33.1-linux-x64/code-server
[Install]
WantedBy=multi-user.target
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