[Unit] Description=Work Hours Tracker (Node: static + sync API) After=network.target [Service] Type=simple User=root WorkingDirectory=/root/.openclaw/workspace/work-hours-tracker/server ExecStart=/usr/bin/node --disable-warning=ExperimentalWarning node-server.js # 端口沿用 9522:localStorage 按「协议+域名+端口」隔离, # 换端口等于换 origin,浏览器里已有的打卡数据会全部看不见(而且旧端口没服务了,连导出都点不到)。 # 保持 9522 → 现有数据原地可用,零迁移。 Environment=PORT=9522 Environment=HOST=0.0.0.0 Restart=always RestartSec=3 [Install] WantedBy=multi-user.target