view hg-web/systemd/hg-web.service.template @ 282:6bd4a3990696 default tip

Add cross-platform canvas orchestration and typed composer Enable native ARM dependencies, macOS Copilot orchestration, portable service supervision, CPU dictation, and a shared N-key speak-or-type composer. Co-authored-by: Copilot <[email protected]> Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
author MrJuneJune <me@mrjunejune.com>
date Thu, 20 Aug 2026 20:45:25 -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