We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83ac30c commit 0315841Copy full SHA for 0315841
1 file changed
cookbooks/github-pages/recipes/jekyll-server.rb
@@ -15,12 +15,14 @@
15
# limitations under the License.
16
#
17
18
-#
19
-# Temporally deactivated, because it's not working as expected.
20
+execute "kill all possible jekyll processes" do
+ command "kill -9 $(ps opid= -C jekyll) &> /dev/null"
+ user "root"
21
+ action :run
22
+end
23
-#execute "jekyll serve 'localhost:80'" do
-# command "jekyll serve --port 80 --watch --detach --source /var/www/mlatzko.github.io"
24
-# user "root"
25
-# action :run
26
-#end
+execute "start jekyll 'http://jkeyll-website:80'" do
+ command "jekyll serve --port 80 --detach --source /var/www/jkeyll-website/"
27
28
0 commit comments