Node.js script to check the status of my server pages. https://kevin-mok.com/server/
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 

14 wiersze
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