diff options
Diffstat (limited to 'roles/clients/files/apache-jays-site.service')
-rw-r--r-- | roles/clients/files/apache-jays-site.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/clients/files/apache-jays-site.service b/roles/clients/files/apache-jays-site.service new file mode 100644 index 0000000..444ce3f --- /dev/null +++ b/roles/clients/files/apache-jays-site.service @@ -0,0 +1,19 @@ +[Unit] +Description=Apache HTTP Server Vhost Jay Blog +After=docker.service + +[Service] +Restart=always +ExecStart=/usr/bin/docker run -i -p 127.0.0.1:8103:443 \ + -v /contener/%p/var/www/html:/var/www/html:z \ + -v /contener/%p/etc/httpd/conf.d:/etc/httpd/conf.d:Z \ + -v /contener/%p/etc/pki/tls/private:/etc/pki/tls/private:Z \ + -v /contener/%p/etc/pki/tls/certs:/etc/pki/tls/certs:Z \ + -v /contener/%p/var/log/httpd:/var/log/httpd:Z \ + -v /contener/php-fpm-jays-site/run/php-fpm:/run/php-fpm:z \ + apache-single:2.4.27-1 +ExecReload=/usr/bin/kill -HUP $MAINPID +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target |