Admin role added, dev side has hot reload again, characters AND groups tied to accounts now.
This commit is contained in:
18
server/leagues-tools-prod.service
Normal file
18
server/leagues-tools-prod.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Leagues Tools Production Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=sonder
|
||||
WorkingDirectory=/home/sonder/leagues-tools-dev/server
|
||||
ExecStart=/usr/bin/npm run prod
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=leagues-tools-prod
|
||||
Environment=NODE_ENV=production
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user