# It is not recommended to modify this file in-place, because it will be
# overwritten during package upgrades. If you want to customize, the best
# way is to use the "systemctl edit" command to create an override unit.
[Unit]
Description=A static UI for a docker registry.
Documentation=https://github.com/jessfraz/reg/
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/reg-server
WorkingDirectory=/var/lib/reg-server/
ExecStart=/usr/bin/reg-server \
$REG_USERNAME \
$REG_PASSWORD \
$REG_REGISTRY \
$REG_PORT \
$REG_CERTPATH \
$REG_KEYPATH \
$REG_INTERVAL \
$REG_CLAIRURL \
$REG_DEBUG
Restart=on-failure
PrivateTmp=yes
[Install]
WantedBy=multi-user.target