2020-06-21 18:19:29 +01:00
|
|
|
[Unit]
|
2020-06-21 18:44:23 +01:00
|
|
|
Description="pastel.codes web service"
|
2020-06-21 18:19:29 +01:00
|
|
|
Documentation=https://pastel.codes.com
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2020-06-21 18:42:48 +01:00
|
|
|
Environment=PORT=7000
|
2020-06-21 18:19:29 +01:00
|
|
|
Environment=NODE_ENV=production
|
2020-06-27 17:46:21 +01:00
|
|
|
Environment=GHOST_KEY=key
|
2020-06-29 10:09:10 +01:00
|
|
|
Environment=HCAPTCHA_KEY=key
|
|
|
|
Environment=TO_GMAIL_USER=user
|
|
|
|
Environment=FROM_GMAIL_USER=user
|
|
|
|
Environment=GMAIL_PASS=pass
|
2020-06-21 18:19:29 +01:00
|
|
|
StandardOutput=syslog
|
|
|
|
SyslogIdentifier=pastel-codes
|
|
|
|
User=web
|
|
|
|
ExecStart=/home/web/pastel.codes/bin/www
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|