Change environment variable to use .env file
This commit is contained in:
parent
a39be2339d
commit
8535e8b357
@ -58,7 +58,7 @@ Requires=postgresql.service
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/snowshare
|
||||
Environment=NODE_ENV=production
|
||||
EnvironmentFile=/opt/snowshare/.env
|
||||
ExecStart=/usr/bin/npm start
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user