mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
Merge pull request #108 from rchincha/systemd
systemd: add a systemd service example file
This commit is contained in:
commit
74f48e6ad3
1 changed files with 15 additions and 0 deletions
15
examples/zot.service
Normal file
15
examples/zot.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=OCI Distribution Registry
|
||||
Documentation=https://github.com/anuvu/zot
|
||||
After=network.target auditd.service local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/zot serve /etc/zot/config.json
|
||||
Restart=on-failure
|
||||
User=zot
|
||||
Group=zot
|
||||
LimitNOFILE=500000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue