Skip to content

Instantly share code, notes, and snippets.

View ldcc's full-sized avatar

ldcc ldcc

View GitHub Profile
@ldcc
ldcc / jekyll.service
Last active May 24, 2019 03:21
ruby jekyll systemd service
[Unit]
Description=Daemon to start Jekyll service
[Service]
Type=simple
ExecStart=/usr/local/bin/jekyll serve --source /home/user/repos/blog --destination /srv/jekyll/blog
ExecStop=/usr/local/bin/jekyll clean --source /home/user/repos/blog --destination /srv/jekyll/blog
PIDFile=/var/run/jekyll.pid
[Install]