Node.js script to check the status of my server pages. https://kevin-mok.com/server/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

server-pages.service 367B

1234567891011121314
  1. [Unit]
  2. Description=Update server page statuses
  3. [Service]
  4. Type=oneshot
  5. ExecStart=/usr/bin/sh -c 'node /home/kevin/server-pages/server-status.js > /home/kevin/my-site/public/server-apps.json'
  6. User=kevin
  7. Group=kevin
  8. Environment=PATH=/usr/bin:/usr/local/bin
  9. Environment=NODE_ENV=production
  10. WorkingDirectory=/home/kevin/server-pages
  11. [Install]
  12. WantedBy=multi-user.target