Last active
November 8, 2018 18:22
-
-
Save micaelis72/8adf8f2701311809f6f3f6f38a4cf03e to your computer and use it in GitHub Desktop.
SystemD start script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Registry Docker Systemctl script | |
After=docker.service | |
[Service] | |
Type=forking | |
ExecStart=/etc/init.d/docker-registry-script start | |
ExecStop=/etc/init.d/docker-registry-script stop | |
ExecReload=/etc/init.d/docker-registry-script restart | |
PIDFile=/var/run/docker-registry/docker-registry.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment