jekyll serve as a systemd service

Make `jekyll serve` a systemd Service

Recently I have just started to try out Jekyll, but I realized jekyll serve does not come with any script to allow me to run it on system startup. Thus, a simple script is written to make it a systemd script. This script runs jekyll serve on startup.Here it goes:

One thought on “Make `jekyll serve` a systemd Service”

  1. Thank your for your service file:

    I added one line:

    Environment=JEKYLL_ENV=’production’

    And changed this line:

    ExecStart=/usr/local/bin/bundler exec jekyll serve –watch –source “/var/www”

Leave a Reply