- Rename your local branch. If you are on the branch you want to rename:
git branch -m new-name
If you are on a different branch:
git branch -m new-name
If you are on a different branch:
[Unit] | |
Description=NodeJS Startup | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/nodejs /var/www/repo/build/server | |
Environment=NODE_ENV=production | |
User=nodejs | |
Restart=on-failure |
server { | |
listen 80; | |
# Your server's IP | |
server_name 11.222.33.44; | |
# Uncomment to enable: | |
# access_log /var/log/nginx/log/host.access.log main; | |
location / { |
description "Site Name" | |
author "Your Name" | |
# Start service after everything loaded | |
start on (local-filesystems and net-device-up IFACE=eth0) | |
stop on shutdown | |
# Automatically restart service | |
respawn | |
respawn limit 3 15 |