Mercurial
comparison hg-web/systemd/hg-web.service.template @ 249:c5129452493e
[deploy] Bundle Mercurial with hg-web
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 04 Aug 2026 04:16:45 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 248:b8b6e726964a | 249:c5129452493e |
|---|---|
| 1 [Unit] | |
| 2 Description=Zenbu Mercurial forge | |
| 3 After=network.target | |
| 4 | |
| 5 [Service] | |
| 6 Type=simple | |
| 7 User=__SERVICE_USER__ | |
| 8 Group=__SERVICE_GROUP__ | |
| 9 WorkingDirectory=__ACTIVE_PATH__ | |
| 10 ExecStart=__ACTIVE_PATH__/hg-web/run_hg_web | |
| 11 Environment=HG_ALLOW_PUSH=__HG_ALLOW_PUSH__ | |
| 12 Environment=HG_REPOSITORY_PATH=__REPOSITORY_PATH__ | |
| 13 Restart=always | |
| 14 RestartSec=3 | |
| 15 KillMode=control-group | |
| 16 NoNewPrivileges=true | |
| 17 PrivateTmp=true | |
| 18 ProtectSystem=full | |
| 19 | |
| 20 [Install] | |
| 21 WantedBy=multi-user.target |