Last active
January 27, 2020 16:00
-
-
Save igk1972/cee3fe6ebae1da9b1f21fc63a5a3cbb8 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=Code Server IDE | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
User=igk1972 | |
Environment=PASSWORD=MySuperPass | |
Environment=PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
EnvironmentFile=/home/igk1972/.profile | |
WorkingDirectory=/home/igk1972/workspace | |
ExecStart=/usr/local/bin/code-server --host 0.0.0.0 --port 9999 | |
Restart=on-failure | |
RestartSec=1 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment