Created
June 12, 2019 22:45
-
-
Save categulario/80de6f85bc576c81870527444db435b3 to your computer and use it in GitHub Desktop.
Ejemplo de una unidad systemd
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=El servicio de la aplicación flask del curso | |
After=network.target | |
[Service] | |
User=infopata | |
Group=infopata | |
WorkingDirectory=/home/infopata/Proyectos/APIRest/ | |
ExecStart=/ruta/hacia/node index.js | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment