summarylogtreecommitdiffstats
path: root/gitlab-container-registry.service
blob: feab475c74a6b32e92d041319a48025cbad98775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=GitLab Container Registry
After=network.target
ConditionFileIsExecutable=/usr/bin/gitlab-container-registry

[Service]
User=gitlab
Group=gitlab
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/bin/gitlab-container-registry serve /etc/gitlab-container-registry/config.yml
Restart=always
RestartSec=120
StandardOutput=journal
StandardError=journal
SyslogIdentifier=gitlab-container-registry
PrivateTmp=true
ProtectSystem=full
ProtectHome=true

[Install]
WantedBy=multi-user.target