Last active
July 24, 2017 18:49
-
-
Save valentineus/91be09da689ea1c669de0ca660b53620 to your computer and use it in GitHub Desktop.
Cloud9 service for the systemd initialization system.
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
# /etc/systemd/system/cloud9.service | |
[Unit] | |
Description=Cloud9 SDK | |
After=network.target | |
[Service] | |
WorkingDirectory=/home/cloud9/c9sdk | |
ExecStart=/usr/bin/node server.js -p 22020 -w /home/cloud9/workspace | |
Restart=always | |
StandardOutput=null | |
StandardError=syslog | |
SyslogIdentifier=cloud9 | |
User=cloud9 | |
Group=cloud9 | |
Environment=NODE_ENV=production | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment