mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-25 23:51:06 +00:00
Fixed apache script
This commit is contained in:
parent
444481f6d9
commit
0c3dd2be96
@ -30,5 +30,3 @@ RUN mkdir -p /var/lib/zerotier-one/networks.d
|
|||||||
RUN touch /var/lib/zerotier-one/networks.d/e5cd7a9e1c5311ab.conf
|
RUN touch /var/lib/zerotier-one/networks.d/e5cd7a9e1c5311ab.conf
|
||||||
RUN ./zerotier-one -d -U -p9993 /root/dev/ztest
|
RUN ./zerotier-one -d -U -p9993 /root/dev/ztest
|
||||||
|
|
||||||
# Start Applications
|
|
||||||
|
|
||||||
|
@ -1,627 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Make sure we're not confused by old, incompletely-shutdown httpd
|
||||||
|
# context after restarting the container. httpd won't start correctly
|
||||||
|
# if it thinks it is already running.
|
||||||
|
rm -rf /run/httpd/* /tmp/httpd*
|
||||||
|
|
||||||
|
exec /usr/sbin/httpd -D FOREGROUND
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en" class=" is-copy-enabled">
|
|
||||||
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
|
|
||||||
<meta charset='utf-8'>
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta http-equiv="Content-Language" content="en">
|
|
||||||
<meta name="viewport" content="width=1020">
|
|
||||||
|
|
||||||
|
|
||||||
<title>Fedora-Dockerfiles/run-apache.sh at master · fedora-cloud/Fedora-Dockerfiles · GitHub</title>
|
|
||||||
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
|
|
||||||
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
|
||||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
|
|
||||||
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
|
|
||||||
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
|
|
||||||
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
|
|
||||||
<meta property="fb:app_id" content="1401488693436528">
|
|
||||||
|
|
||||||
<meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="fedora-cloud/Fedora-Dockerfiles" name="twitter:title" /><meta content="Fedora-Dockerfiles - Fedora Dockerfiles" name="twitter:description" /><meta content="https://avatars0.githubusercontent.com/u/6492450?v=3&s=400" name="twitter:image:src" />
|
|
||||||
<meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars0.githubusercontent.com/u/6492450?v=3&s=400" property="og:image" /><meta content="fedora-cloud/Fedora-Dockerfiles" property="og:title" /><meta content="https://github.com/fedora-cloud/Fedora-Dockerfiles" property="og:url" /><meta content="Fedora-Dockerfiles - Fedora Dockerfiles" property="og:description" />
|
|
||||||
<meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
|
|
||||||
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
|
|
||||||
<link rel="assets" href="https://assets-cdn.github.com/">
|
|
||||||
|
|
||||||
<meta name="pjax-timeout" content="1000">
|
|
||||||
|
|
||||||
|
|
||||||
<meta name="msapplication-TileImage" content="/windows-tile.png">
|
|
||||||
<meta name="msapplication-TileColor" content="#ffffff">
|
|
||||||
<meta name="selected-link" value="repo_source" data-pjax-transient>
|
|
||||||
|
|
||||||
<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
|
|
||||||
<meta name="google-analytics" content="UA-3769691-2">
|
|
||||||
|
|
||||||
<meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="6BDB3F8A:108E:8B9BF4C:5607D171" name="octolytics-dimension-request_id" />
|
|
||||||
|
|
||||||
<meta content="Rails, view, blob#show" data-pjax-transient="true" name="analytics-event" />
|
|
||||||
<meta class="js-ga-set" name="dimension1" content="Logged Out">
|
|
||||||
<meta class="js-ga-set" name="dimension4" content="Current repo nav">
|
|
||||||
<meta name="is-dotcom" content="true">
|
|
||||||
<meta name="hostname" content="github.com">
|
|
||||||
<meta name="user-login" content="">
|
|
||||||
|
|
||||||
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#4078c0">
|
|
||||||
<link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
|
|
||||||
|
|
||||||
<!-- </textarea> --><!-- '"` --><meta content="authenticity_token" name="csrf-param" />
|
|
||||||
<meta content="YWF7IvDZBO7TYneFyWlSCRMbAYLGBUbMHKE08psGEkdCb9dZhKM9FzQVdjIY3Nz27xHYMev/kz/IXct82DsXVQ==" name="csrf-token" />
|
|
||||||
|
|
||||||
|
|
||||||
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github-d3b5b3df2f65fc68f5e345a65ac963467f6c81cf28ea86808ec363627c646deb.css" media="all" rel="stylesheet" />
|
|
||||||
<link crossorigin="anonymous" href="https://assets-cdn.github.com/assets/github2-5c5f822f8fcc71f3c7ef329235cc20ddb312d1e4a952030b5cbcce6bc6938888.css" media="all" rel="stylesheet" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<meta http-equiv="x-pjax-version" content="66f455c6719e9be482f1485001a46a01">
|
|
||||||
|
|
||||||
|
|
||||||
<meta name="description" content="Fedora-Dockerfiles - Fedora Dockerfiles">
|
|
||||||
<meta name="go-import" content="github.com/fedora-cloud/Fedora-Dockerfiles git https://github.com/fedora-cloud/Fedora-Dockerfiles.git">
|
|
||||||
|
|
||||||
<meta content="6492450" name="octolytics-dimension-user_id" /><meta content="fedora-cloud" name="octolytics-dimension-user_login" /><meta content="15811116" name="octolytics-dimension-repository_id" /><meta content="fedora-cloud/Fedora-Dockerfiles" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="15811116" name="octolytics-dimension-repository_network_root_id" /><meta content="fedora-cloud/Fedora-Dockerfiles" name="octolytics-dimension-repository_network_root_nwo" />
|
|
||||||
<link href="https://github.com/fedora-cloud/Fedora-Dockerfiles/commits/master.atom" rel="alternate" title="Recent Commits to Fedora-Dockerfiles:master" type="application/atom+xml">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
|
|
||||||
<body class="logged_out env-production linux vis-public page-blob">
|
|
||||||
<a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="header header-logged-out" role="banner">
|
|
||||||
<div class="container clearfix">
|
|
||||||
|
|
||||||
<a class="header-logo-wordmark" href="https://github.com/" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
|
|
||||||
<span class="mega-octicon octicon-logo-github"></span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<div class="header-actions" role="navigation">
|
|
||||||
<a class="btn btn-primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
|
|
||||||
<a class="btn" href="/login?return_to=%2Ffedora-cloud%2FFedora-Dockerfiles%2Fblob%2Fmaster%2Fapache%2Frun-apache.sh" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="site-search repo-scope js-site-search" role="search">
|
|
||||||
<!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="/fedora-cloud/Fedora-Dockerfiles/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/fedora-cloud/Fedora-Dockerfiles/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
|
||||||
<label class="js-chromeless-input-container form-control">
|
|
||||||
<div class="scope-badge">This repository</div>
|
|
||||||
<input type="text"
|
|
||||||
class="js-site-search-focus js-site-search-field is-clearable chromeless-input"
|
|
||||||
data-hotkey="s"
|
|
||||||
name="q"
|
|
||||||
placeholder="Search"
|
|
||||||
aria-label="Search this repository"
|
|
||||||
data-global-scope-placeholder="Search GitHub"
|
|
||||||
data-repo-scope-placeholder="Search"
|
|
||||||
tabindex="1"
|
|
||||||
autocapitalize="off">
|
|
||||||
</label>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul class="header-nav left" role="navigation">
|
|
||||||
<li class="header-nav-item">
|
|
||||||
<a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
|
|
||||||
</li>
|
|
||||||
<li class="header-nav-item">
|
|
||||||
<a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
|
|
||||||
</li>
|
|
||||||
<li class="header-nav-item">
|
|
||||||
<a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
|
|
||||||
</li>
|
|
||||||
<li class="header-nav-item">
|
|
||||||
<a class="header-nav-link" href="/pricing" data-ga-click="(Logged out) Header, go to pricing, text:pricing">Pricing</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="start-of-content" class="accessibility-aid"></div>
|
|
||||||
|
|
||||||
<div id="js-flash-container">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div role="main" class="main-content">
|
|
||||||
<div itemscope itemtype="http://schema.org/WebPage">
|
|
||||||
<div class="pagehead repohead instapaper_ignore readability-menu">
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="clearfix">
|
|
||||||
|
|
||||||
<ul class="pagehead-actions">
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="/login?return_to=%2Ffedora-cloud%2FFedora-Dockerfiles"
|
|
||||||
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
|
||||||
aria-label="You must be signed in to watch a repository" rel="nofollow">
|
|
||||||
<span class="octicon octicon-eye"></span>
|
|
||||||
Watch
|
|
||||||
</a>
|
|
||||||
<a class="social-count" href="/fedora-cloud/Fedora-Dockerfiles/watchers">
|
|
||||||
47
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="/login?return_to=%2Ffedora-cloud%2FFedora-Dockerfiles"
|
|
||||||
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
|
||||||
aria-label="You must be signed in to star a repository" rel="nofollow">
|
|
||||||
<span class="octicon octicon-star"></span>
|
|
||||||
Star
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="social-count js-social-count" href="/fedora-cloud/Fedora-Dockerfiles/stargazers">
|
|
||||||
204
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="/login?return_to=%2Ffedora-cloud%2FFedora-Dockerfiles"
|
|
||||||
class="btn btn-sm btn-with-count tooltipped tooltipped-n"
|
|
||||||
aria-label="You must be signed in to fork a repository" rel="nofollow">
|
|
||||||
<span class="octicon octicon-repo-forked"></span>
|
|
||||||
Fork
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/network" class="social-count">
|
|
||||||
140
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public ">
|
|
||||||
<span class="mega-octicon octicon-repo"></span>
|
|
||||||
<span class="author"><a href="/fedora-cloud" class="url fn" itemprop="url" rel="author"><span itemprop="title">fedora-cloud</span></a></span><!--
|
|
||||||
--><span class="path-divider">/</span><!--
|
|
||||||
--><strong><a href="/fedora-cloud/Fedora-Dockerfiles" data-pjax="#js-repo-pjax-container">Fedora-Dockerfiles</a></strong>
|
|
||||||
|
|
||||||
<span class="page-context-loader">
|
|
||||||
<img alt="" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</span>
|
|
||||||
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="repository-with-sidebar repo-container new-discussion-timeline ">
|
|
||||||
<div class="repository-sidebar clearfix">
|
|
||||||
|
|
||||||
<nav class="sunken-menu repo-nav js-repo-nav js-sidenav-container-pjax js-octicon-loaders"
|
|
||||||
role="navigation"
|
|
||||||
data-pjax="#js-repo-pjax-container"
|
|
||||||
data-issue-count-url="/fedora-cloud/Fedora-Dockerfiles/issues/counts">
|
|
||||||
<ul class="sunken-menu-group">
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Code">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles" aria-label="Code" aria-selected="true" class="js-selected-navigation-item selected sunken-menu-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /fedora-cloud/Fedora-Dockerfiles">
|
|
||||||
<span class="octicon octicon-code"></span> <span class="full-word">Code</span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Issues">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /fedora-cloud/Fedora-Dockerfiles/issues">
|
|
||||||
<span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
|
|
||||||
<span class="js-issue-replace-counter"></span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Pull requests">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/pulls" aria-label="Pull requests" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g p" data-selected-links="repo_pulls /fedora-cloud/Fedora-Dockerfiles/pulls">
|
|
||||||
<span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull requests</span>
|
|
||||||
<span class="js-pull-replace-counter"></span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Wiki">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/wiki" aria-label="Wiki" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g w" data-selected-links="repo_wiki /fedora-cloud/Fedora-Dockerfiles/wiki">
|
|
||||||
<span class="octicon octicon-book"></span> <span class="full-word">Wiki</span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
</ul>
|
|
||||||
<div class="sunken-menu-separator"></div>
|
|
||||||
<ul class="sunken-menu-group">
|
|
||||||
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Pulse">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/pulse" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-selected-links="pulse /fedora-cloud/Fedora-Dockerfiles/pulse">
|
|
||||||
<span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
|
|
||||||
<li class="tooltipped tooltipped-w" aria-label="Graphs">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_graphs repo_contributors /fedora-cloud/Fedora-Dockerfiles/graphs">
|
|
||||||
<span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
|
|
||||||
<img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif" width="16" />
|
|
||||||
</a> </li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="only-with-full-nav">
|
|
||||||
|
|
||||||
<div class="js-clone-url clone-url open"
|
|
||||||
data-protocol-type="http">
|
|
||||||
<h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
|
|
||||||
<div class="input-group js-zeroclipboard-container">
|
|
||||||
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
|
|
||||||
value="https://github.com/fedora-cloud/Fedora-Dockerfiles.git" readonly="readonly" aria-label="HTTPS clone URL">
|
|
||||||
<span class="input-group-button">
|
|
||||||
<button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="js-clone-url clone-url "
|
|
||||||
data-protocol-type="subversion">
|
|
||||||
<h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
|
|
||||||
<div class="input-group js-zeroclipboard-container">
|
|
||||||
<input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
|
|
||||||
value="https://github.com/fedora-cloud/Fedora-Dockerfiles" readonly="readonly" aria-label="Subversion checkout URL">
|
|
||||||
<span class="input-group-button">
|
|
||||||
<button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="clone-options">You can clone with
|
|
||||||
<!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="/users/set_protocol?protocol_selector=http&protocol_type=clone" class="inline-form js-clone-selector-form " data-form-nonce="300857e1845ad90e1eb6fc1922454773dccfa605" data-remote="true" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="0X2ZRaBDqb/p3XegkZJF1RqgX0faBk3b9aSqzgaQ6+KXPkz4Se4OW7xibew39aLhc8E/42qjdi2S5eiy6G3Hsw==" /></div><button class="btn-link js-clone-selector" data-protocol="http" type="submit">HTTPS</button></form> or <!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="/users/set_protocol?protocol_selector=subversion&protocol_type=clone" class="inline-form js-clone-selector-form " data-form-nonce="300857e1845ad90e1eb6fc1922454773dccfa605" data-remote="true" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="authenticity_token" type="hidden" value="CPUHTuKS6ZfBuA9ghWiS2nYQwZTm6IXByTKD9SGaHZFZrYMGzOKBsfKDWZr1uYVa0jFAEhRZqEFoHVNPxWT6Vw==" /></div><button class="btn-link js-clone-selector" data-protocol="subversion" type="submit">Subversion</button></form>.
|
|
||||||
<a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
|
|
||||||
<span class="octicon octicon-question"></span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/archive/master.zip"
|
|
||||||
class="btn btn-sm sidebar-button"
|
|
||||||
aria-label="Download the contents of fedora-cloud/Fedora-Dockerfiles as a zip file"
|
|
||||||
title="Download the contents of fedora-cloud/Fedora-Dockerfiles as a zip file"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="octicon octicon-cloud-download"></span>
|
|
||||||
Download ZIP
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/blob/818f8aa73dc77fcacdfded048c2328ff6efde2b2/apache/run-apache.sh" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
|
|
||||||
|
|
||||||
<!-- blob contrib key: blob_contributors:v21:1732727e1971ca2321a206cb9c844b69 -->
|
|
||||||
|
|
||||||
<div class="file-navigation js-zeroclipboard-container">
|
|
||||||
|
|
||||||
<div class="select-menu js-menu-container js-select-menu left">
|
|
||||||
<span class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w"
|
|
||||||
data-ref="master"
|
|
||||||
title="master"
|
|
||||||
role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
|
|
||||||
<i>Branch:</i>
|
|
||||||
<span class="js-select-button css-truncate-target">master</span>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
|
|
||||||
|
|
||||||
<div class="select-menu-modal">
|
|
||||||
<div class="select-menu-header">
|
|
||||||
<span class="select-menu-title">Switch branches/tags</span>
|
|
||||||
<span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="select-menu-filters">
|
|
||||||
<div class="select-menu-text-filter">
|
|
||||||
<input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
|
|
||||||
</div>
|
|
||||||
<div class="select-menu-tabs">
|
|
||||||
<ul>
|
|
||||||
<li class="select-menu-tab">
|
|
||||||
<a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab" role="tab">Branches</a>
|
|
||||||
</li>
|
|
||||||
<li class="select-menu-tab">
|
|
||||||
<a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab" role="tab">Tags</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches" role="menu">
|
|
||||||
|
|
||||||
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
|
|
||||||
|
|
||||||
|
|
||||||
<a class="select-menu-item js-navigation-item js-navigation-open "
|
|
||||||
href="/fedora-cloud/Fedora-Dockerfiles/blob/f21/apache/run-apache.sh"
|
|
||||||
data-name="f21"
|
|
||||||
data-skip-pjax="true"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="select-menu-item-icon octicon octicon-check"></span>
|
|
||||||
<span class="select-menu-item-text css-truncate-target" title="f21">
|
|
||||||
f21
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="select-menu-item js-navigation-item js-navigation-open "
|
|
||||||
href="/fedora-cloud/Fedora-Dockerfiles/blob/f22/apache/run-apache.sh"
|
|
||||||
data-name="f22"
|
|
||||||
data-skip-pjax="true"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="select-menu-item-icon octicon octicon-check"></span>
|
|
||||||
<span class="select-menu-item-text css-truncate-target" title="f22">
|
|
||||||
f22
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="select-menu-item js-navigation-item js-navigation-open selected"
|
|
||||||
href="/fedora-cloud/Fedora-Dockerfiles/blob/master/apache/run-apache.sh"
|
|
||||||
data-name="master"
|
|
||||||
data-skip-pjax="true"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="select-menu-item-icon octicon octicon-check"></span>
|
|
||||||
<span class="select-menu-item-text css-truncate-target" title="master">
|
|
||||||
master
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="select-menu-item js-navigation-item js-navigation-open "
|
|
||||||
href="/fedora-cloud/Fedora-Dockerfiles/blob/mattdm-add-fpaste/apache/run-apache.sh"
|
|
||||||
data-name="mattdm-add-fpaste"
|
|
||||||
data-skip-pjax="true"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="select-menu-item-icon octicon octicon-check"></span>
|
|
||||||
<span class="select-menu-item-text css-truncate-target" title="mattdm-add-fpaste">
|
|
||||||
mattdm-add-fpaste
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<a class="select-menu-item js-navigation-item js-navigation-open "
|
|
||||||
href="/fedora-cloud/Fedora-Dockerfiles/blob/tools-fix/apache/run-apache.sh"
|
|
||||||
data-name="tools-fix"
|
|
||||||
data-skip-pjax="true"
|
|
||||||
rel="nofollow">
|
|
||||||
<span class="select-menu-item-icon octicon octicon-check"></span>
|
|
||||||
<span class="select-menu-item-text css-truncate-target" title="tools-fix">
|
|
||||||
tools-fix
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="select-menu-no-results">Nothing to show</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
|
|
||||||
<div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="select-menu-no-results">Nothing to show</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="btn-group right">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/find/master"
|
|
||||||
class="js-show-file-finder btn btn-sm empty-icon tooltipped tooltipped-nw"
|
|
||||||
data-pjax
|
|
||||||
data-hotkey="t"
|
|
||||||
aria-label="Quickly jump between files">
|
|
||||||
<span class="octicon octicon-list-unordered"></span>
|
|
||||||
</a>
|
|
||||||
<button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" type="button"><span class="octicon octicon-clippy"></span></button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="breadcrumb js-zeroclipboard-target">
|
|
||||||
<span class="repo-root js-repo-root"><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/fedora-cloud/Fedora-Dockerfiles" class="" data-branch="master" data-pjax="true" itemscope="url"><span itemprop="title">Fedora-Dockerfiles</span></a></span></span><span class="separator">/</span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/fedora-cloud/Fedora-Dockerfiles/tree/master/apache" class="" data-branch="master" data-pjax="true" itemscope="url"><span itemprop="title">apache</span></a></span><span class="separator">/</span><strong class="final-path">run-apache.sh</strong>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="commit file-history-tease">
|
|
||||||
<div class="file-history-tease-header">
|
|
||||||
<img alt="@bparees" class="avatar" height="24" src="https://avatars2.githubusercontent.com/u/4974046?v=3&s=48" width="24" />
|
|
||||||
<span class="author"><a href="/bparees" rel="contributor">bparees</a></span>
|
|
||||||
<time datetime="2015-06-22T17:29:11Z" is="relative-time">Jun 22, 2015</time>
|
|
||||||
<div class="commit-title">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/commit/32b5dcc6fabe55b66393f0076459102cfd5d736c" class="message" data-pjax="true" title="do not use apachectl to start in foreground">do not use apachectl to start in foreground</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="participation">
|
|
||||||
<p class="quickstat">
|
|
||||||
<a href="#blob_contributors_box" rel="facebox">
|
|
||||||
<strong>4</strong>
|
|
||||||
contributors
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
<a class="avatar-link tooltipped tooltipped-s" aria-label="twaugh" href="/fedora-cloud/Fedora-Dockerfiles/commits/master/apache/run-apache.sh?author=twaugh"><img alt="@twaugh" class="avatar" height="20" src="https://avatars1.githubusercontent.com/u/6985468?v=3&s=40" width="20" /> </a>
|
|
||||||
<a class="avatar-link tooltipped tooltipped-s" aria-label="sctweedie" href="/fedora-cloud/Fedora-Dockerfiles/commits/master/apache/run-apache.sh?author=sctweedie"><img alt="@sctweedie" class="avatar" height="20" src="https://avatars3.githubusercontent.com/u/7128755?v=3&s=40" width="20" /> </a>
|
|
||||||
<a class="avatar-link tooltipped tooltipped-s" aria-label="scollier" href="/fedora-cloud/Fedora-Dockerfiles/commits/master/apache/run-apache.sh?author=scollier"><img alt="@scollier" class="avatar" height="20" src="https://avatars0.githubusercontent.com/u/1141587?v=3&s=40" width="20" /> </a>
|
|
||||||
<a class="avatar-link tooltipped tooltipped-s" aria-label="bparees" href="/fedora-cloud/Fedora-Dockerfiles/commits/master/apache/run-apache.sh?author=bparees"><img alt="@bparees" class="avatar" height="20" src="https://avatars0.githubusercontent.com/u/4974046?v=3&s=40" width="20" /> </a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div id="blob_contributors_box" style="display:none">
|
|
||||||
<h2 class="facebox-header" data-facebox-id="facebox-header">Users who have contributed to this file</h2>
|
|
||||||
<ul class="facebox-user-list" data-facebox-id="facebox-description">
|
|
||||||
<li class="facebox-user-list-item">
|
|
||||||
<img alt="@twaugh" height="24" src="https://avatars3.githubusercontent.com/u/6985468?v=3&s=48" width="24" />
|
|
||||||
<a href="/twaugh">twaugh</a>
|
|
||||||
</li>
|
|
||||||
<li class="facebox-user-list-item">
|
|
||||||
<img alt="@sctweedie" height="24" src="https://avatars1.githubusercontent.com/u/7128755?v=3&s=48" width="24" />
|
|
||||||
<a href="/sctweedie">sctweedie</a>
|
|
||||||
</li>
|
|
||||||
<li class="facebox-user-list-item">
|
|
||||||
<img alt="@scollier" height="24" src="https://avatars2.githubusercontent.com/u/1141587?v=3&s=48" width="24" />
|
|
||||||
<a href="/scollier">scollier</a>
|
|
||||||
</li>
|
|
||||||
<li class="facebox-user-list-item">
|
|
||||||
<img alt="@bparees" height="24" src="https://avatars2.githubusercontent.com/u/4974046?v=3&s=48" width="24" />
|
|
||||||
<a href="/bparees">bparees</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="file">
|
|
||||||
<div class="file-header">
|
|
||||||
<div class="file-actions">
|
|
||||||
|
|
||||||
<div class="btn-group">
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/raw/master/apache/run-apache.sh" class="btn btn-sm " id="raw-url">Raw</a>
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/blame/master/apache/run-apache.sh" class="btn btn-sm js-update-url-with-hash">Blame</a>
|
|
||||||
<a href="/fedora-cloud/Fedora-Dockerfiles/commits/master/apache/run-apache.sh" class="btn btn-sm " rel="nofollow">History</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<button type="button" class="octicon-btn disabled tooltipped tooltipped-nw"
|
|
||||||
aria-label="You must be signed in to make or propose changes">
|
|
||||||
<span class="octicon octicon-pencil"></span>
|
|
||||||
</button>
|
|
||||||
<button type="button" class="octicon-btn octicon-btn-danger disabled tooltipped tooltipped-nw"
|
|
||||||
aria-label="You must be signed in to make or propose changes">
|
|
||||||
<span class="octicon octicon-trashcan"></span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="file-info">
|
|
||||||
9 lines (6 sloc)
|
|
||||||
<span class="file-info-divider"></span>
|
|
||||||
257 Bytes
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="blob-wrapper data type-shell">
|
|
||||||
<table class="highlight tab-size js-file-line-container" data-tab-size="8">
|
|
||||||
<tr>
|
|
||||||
<td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
|
|
||||||
<td id="LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-c">#!/bin/bash</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
|
|
||||||
<td id="LC2" class="blob-code blob-code-inner js-file-line">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
|
|
||||||
<td id="LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># Make sure we're not confused by old, incompletely-shutdown httpd</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
|
|
||||||
<td id="LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># context after restarting the container. httpd won't start correctly</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
|
|
||||||
<td id="LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-c"># if it thinks it is already running.</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
|
|
||||||
<td id="LC6" class="blob-code blob-code-inner js-file-line">rm -rf /run/httpd/<span class="pl-k">*</span> /tmp/httpd<span class="pl-k">*</span></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
|
|
||||||
<td id="LC7" class="blob-code blob-code-inner js-file-line">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
|
|
||||||
<td id="LC8" class="blob-code blob-code-inner js-file-line"><span class="pl-c1">exec</span> /usr/sbin/httpd -D FOREGROUND</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
|
|
||||||
<div id="jump-to-line" style="display:none">
|
|
||||||
<!-- </textarea> --><!-- '"` --><form accept-charset="UTF-8" action="" class="js-jump-to-line-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
|
||||||
<input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" aria-label="Jump to line" autofocus>
|
|
||||||
<button type="submit" class="btn">Go</button>
|
|
||||||
</form></div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal-backdrop"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<div class="site-footer" role="contentinfo">
|
|
||||||
<ul class="site-footer-links right">
|
|
||||||
<li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
|
|
||||||
<li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
|
|
||||||
<li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
|
|
||||||
<li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
|
|
||||||
<li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
|
|
||||||
<li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
|
|
||||||
<li><a href="https://github.com/pricing" data-ga-click="Footer, go to pricing, text:pricing">Pricing</a></li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<a href="https://github.com" aria-label="Homepage">
|
|
||||||
<span class="mega-octicon octicon-mark-github" title="GitHub"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="site-footer-links">
|
|
||||||
<li>© 2015 <span title="0.03993s from github-fe131-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
|
|
||||||
<li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
|
|
||||||
<li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
|
|
||||||
<li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
|
|
||||||
<li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact</a></li>
|
|
||||||
<li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="ajax-error-message" class="flash flash-error">
|
|
||||||
<span class="octicon octicon-alert"></span>
|
|
||||||
<button type="button" class="flash-close js-flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
|
|
||||||
<span class="octicon octicon-x"></span>
|
|
||||||
</button>
|
|
||||||
Something went wrong with that request. Please try again.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-f8473dece7242da6a20d52313634881b3975c52cebaa1e6c38157c0f26185691.js"></script>
|
|
||||||
<script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-ee6414bb0c9c43fe6c4b26b09ecaf335e6d76de02d92a150af292a1d2034b728.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner hidden">
|
|
||||||
<span class="octicon octicon-alert"></span>
|
|
||||||
<span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
|
||||||
<span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user