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