Last active
May 27, 2024 21:56
-
-
Save fcaldarelli/8ea9538e02494da372ef8a51b05d7c2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=App myapp | |
After=network.target | |
[Service] | |
User=myapp | |
LimitNOFILE=infinity | |
LimitNPROC=infinity | |
LimitCORE=infinity | |
Restart=always | |
ExecStart=/home/myapp/node /home/myapp/npm run live --prefix /home/myapp/public_html/prod/myapp-api/ | |
Environment=PATH=/home/myapp/.nvm/versions/node/v18.20.2/bin:/usr/bin:/bin | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment