[Unit]
Description=OCI Distribution Registry
Documentation=https://zotregistry.io/
After=network.target auditd.service local-fs.target

[Service]
Type=simple
ExecStart={{taskserv.oci_bin_path}}/zot serve {{taskserv.oci_etc}}/config.json
Restart=on-failure
User={{taskserv.oci_user}}
Group={{taskserv.oci_user_group}}
LimitNOFILE=500000
MemoryHigh={{taskserv.oci_memory_high}}G
MemoryMax={{taskserv.oci_memory_max}}G
[Install]
WantedBy=multi-user.target
