2020-02-11 11:06:13 -05:00
|
|
|
[Unit]
|
|
|
|
Description=forecast_api
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2023-02-24 19:28:14 -05:00
|
|
|
ExecStart=/home/fc/.nvm/versions/node/v18.14.2/bin/node //opt/forecast_api/index.js
|
2020-02-11 11:06:13 -05:00
|
|
|
Restart=always
|
2023-02-24 19:28:14 -05:00
|
|
|
User=fc
|
2020-02-11 11:06:13 -05:00
|
|
|
Environemnt=NODE_ENV=production
|
2021-04-05 15:03:00 -04:00
|
|
|
WorkingDirectory=//opt/forecast_api/
|
2020-02-11 11:06:13 -05:00
|
|
|
|
|
|
|
[Install]
|
2021-04-05 15:03:00 -04:00
|
|
|
WantedBy=multi-user.target
|