Mercurial
view hg-web/systemd/hg-web.service.template @ 250:745fd127b2a1
[seobeo] Add bounded worker interface
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 04 Aug 2026 06:23:37 -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