Merge pull request #108 from rchincha/systemd

systemd: add a systemd service example file
This commit is contained in:
Ramkumar Chinchani
2020-07-07 13:18:46 -07:00
committed by GitHub
+15
View 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