add chapters and deploy script
This commit is contained in:
18
mathquest.service
Normal file
18
mathquest.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=MathQuest - Mathe-Lernseite für Kinder
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
WorkingDirectory=/var/www/mathquest
|
||||
ExecStart=/usr/bin/node /var/www/mathquest/server.js
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
Environment=NODE_ENV=production
|
||||
Environment=PORT=3000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user