Made the service

pull/1/head
Esther 2020-06-21 18:19:29 +01:00
parent c2f0c49188
commit b85de93f51
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA
1 changed files with 16 additions and 0 deletions

16
pastel-codes.service Normal file
View File

@ -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