view hg-web/systemd/hg-web.service.template @ 266:efaf4c63cc94

fix clean production bundle staging Recreate deployment staging before copying the Bazel bundle and verify required inference runtime paths before promoting it. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 12:52:30 -0700
parents c5129452493e
children
line wrap: on
line source

[Unit]
Description=Zenbu Mercurial forge
After=network.target

[Service]
Type=simple
User=__SERVICE_USER__
Group=__SERVICE_GROUP__
WorkingDirectory=__ACTIVE_PATH__
ExecStart=__ACTIVE_PATH__/hg-web/run_hg_web
Environment=HG_ALLOW_PUSH=__HG_ALLOW_PUSH__
Environment=HG_REPOSITORY_PATH=__REPOSITORY_PATH__
Restart=always
RestartSec=3
KillMode=control-group
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full

[Install]
WantedBy=multi-user.target