| 1 |
# One-shot: reset testnot.work to the fabricated example catalog. |
| 2 |
# |
| 3 |
# The seed catalog is fixed, so this is NOT scheduled — run it deliberately to |
| 4 |
# reset the box: systemctl start mnw-testnot-seed.service (or run the script |
| 5 |
# directly). |
| 6 |
# |
| 7 |
# Needs root on fw13: uses Tailscale SSH (node identity) to reach testnot as root |
| 8 |
# and drives the reseed there. |
| 9 |
# |
| 10 |
# Place at /etc/systemd/system/mnw-testnot-seed.service on the Sando host. |
| 11 |
|
| 12 |
[Unit] |
| 13 |
Description=MNW: reset testnot staging to the example catalog (--seed-examples) |
| 14 |
After=network-online.target |
| 15 |
Wants=network-online.target |
| 16 |
|
| 17 |
[Service] |
| 18 |
Type=oneshot |
| 19 |
ExecStart=/usr/local/bin/mnw-testnot-seed.sh |
| 20 |
|