Node.js script to check the status of my server pages. https://kevin-mok.com/server/
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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