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