Skip to content

Commit 0315841

Browse files
committed
fixes #1
1 parent 83ac30c commit 0315841

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

cookbooks/github-pages/recipes/jekyll-server.rb

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
# limitations under the License.
1616
#
1717

18-
#
19-
# Temporally deactivated, because it's not working as expected.
20-
#
18+
execute "kill all possible jekyll processes" do
19+
command "kill -9 $(ps opid= -C jekyll) &> /dev/null"
20+
user "root"
21+
action :run
22+
end
2123

22-
#execute "jekyll serve 'localhost:80'" do
23-
# command "jekyll serve --port 80 --watch --detach --source /var/www/mlatzko.github.io"
24-
# user "root"
25-
# action :run
26-
#end
24+
execute "start jekyll 'http://jkeyll-website:80'" do
25+
command "jekyll serve --port 80 --detach --source /var/www/jkeyll-website/"
26+
user "root"
27+
action :run
28+
end

0 commit comments

Comments
 (0)