Last active
July 31, 2022 08:47
-
-
Save abersheeran/7602ba73f5ece52890f9f6fce0dd0855 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Visual Studio Code Server | |
After=network.target | |
[Service] | |
Type=exec | |
Restart=always | |
User=%i | |
ExecStart=dbus-run-session -- sh -c "(echo 'somecredstorepass' | gnome-keyring-daemon --unlock) && /usr/local/bin/code-server serve-local --accept-server-license-terms --connection-token=somecredstorepass" | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment