Hello World

[ Home ] [ About ] [ Posts ] [ RSS ] [ Permalink ]

The blog is up and running!
I’m not gonna lie, but I’ve gotten pretty rusty with nginx and systemd configs, and debugging this sort of stuff was annoying.
Not really sure what, how much, or when I’m going to write stuff here, but it was an interesting experience to make and get running, and that’s the most important thing.
There are still something that aren’t perfect that I noticed after everything went up, but it’s always like that. I’ve fixed almost everything but I just need to change the scrollbar theme.

This is the systemd service that I’m using to run Jekyll. Maybe someone will find it useful.

[Unit]
Description=blog.sen.cat
After=syslog.target
After=network.target

[Service]
Type=simple
User=username
ExecStart=/path/to/bundle exec /path/to/jekyll serve --source /path/to/Blog --host 127.0.0.1 --port 4000
WorkingDirectory=/path/to/Blog
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=jekyll
Environment=GEM_HOME=/path/to/gems
Environment=JEKYLL_ENV=production

[Install]
WantedBy=multi-user.target