Node.js script to check the status of my server pages.
https://kevin-mok.com/server/
No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
14 líneas
367 B
14 líneas
367 B
[Unit]
|
|
Description=Update server page statuses
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/sh -c 'node /home/kevin/server-pages/server-status.js > /home/kevin/my-site/public/server-apps.json'
|
|
User=kevin
|
|
Group=kevin
|
|
Environment=PATH=/usr/bin:/usr/local/bin
|
|
Environment=NODE_ENV=production
|
|
WorkingDirectory=/home/kevin/server-pages
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|