diff --git a/pastel-codes.service b/pastel-codes.service new file mode 100644 index 0000000..cb7d26f --- /dev/null +++ b/pastel-codes.service @@ -0,0 +1,16 @@ +[Unit] +Description=pastel.codes web service +Documentation=https://pastel.codes.com +After=network.target + +[Service] +Environment=NODE_ENV=production +StandardOutput=syslog +SyslogIdentifier=pastel-codes +User=web +Group=web +ExecStart=/home/web/pastel.codes/bin/www +Restart=always + +[Install] +WantedBy=multi-user.target