Last active
May 24, 2019 03:21
-
-
Save ldcc/e6e43651e5af961307a07264014363fa to your computer and use it in GitHub Desktop.
ruby jekyll systemd service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment