forecast_api/forecast_api.service
2023-02-24 19:28:14 -05:00

14 lines
291 B
Desktop File

[Unit]
Description=forecast_api
After=network.target
[Service]
ExecStart=/home/fc/.nvm/versions/node/v18.14.2/bin/node //opt/forecast_api/index.js
Restart=always
User=fc
Environemnt=NODE_ENV=production
WorkingDirectory=//opt/forecast_api/
[Install]
WantedBy=multi-user.target