Created
February 14, 2023 11:29
-
-
Save rama4zis/9fbd1208db827c28a5cc06f45f41984a to your computer and use it in GitHub Desktop.
This file contains 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=Service description | |
[Service] | |
Type=simple | |
User=admin | |
WorkingDirectory=/home/admin/project-name | |
ExecStart=/usr/bin/node /home/admin/project-name/dist/index.js | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment