Files
portal/deploy/ctao-portal-build.service
T
ctao 0772462742 CTAO Science Portal: static Astro site with git-based CMS (Sveltia + Gitea)
Portal code only; editorial content lives in the ctao/content repo on the
demo machine's Gitea and is overlaid at build time (see README.md and
deploy/README.md). Live demo: https://astro.isl-dev.grid.cyfronet.pl
2026-09-08 13:53:30 +02:00

16 lines
567 B
Desktop File

# CTAO portal demo — rebuild-on-new-commit worker (fired by the .timer).
# Install: copy to ~/.config/systemd/user/ → systemctl --user daemon-reload.
# Type=oneshot + timer means runs can never overlap: the timer will not
# activate a service that is still running.
[Unit]
Description=CTAO portal demo — rebuild if the code or content repo has new commits
[Service]
Type=oneshot
ExecStart=%h/ctao-portal-demo/bin/build.sh
# Polite neighbour on the shared VM:
Nice=10
# First-ever npm ci on 2 vCPU can be slow; normal rebuilds are seconds.
TimeoutStartSec=900