Browsed by
Category: Docker

Create Centos 6.6 startup script

Create Centos 6.6 startup script

How to start a custom script/app on CentOs boot Open a terminal and as root go to /etc/init.d/ Create the file here with whatever name you want, we will use gitlab as an example. Copy and paste the code below into the file and change it as per your application requirements: #!/bin/bash # # gitlab GitLab Docker container 7.9 # # chkconfig: 345 70 30 # description: GitLab Docker container 7.9 # processname: gitlab # Source function library. . /etc/init.d/functions…

Read More Read More

%d bloggers like this: