An easy, no-frills systemd service template for Ghost

If you're deploying Ghost on a modern systemd-based Linux distribution, it's easy to get it running as a service. Here's the template that's powering this very blog:

[Unit]
Description=Ghost  
Wants=network-online.target  
After=network-online.target

[Service]
Type=simple  
User=<username>  
Group=<groupname>  
WorkingDirectory=</path/to/ghost>  
ExecStart=/usr/bin/npm start --production

[Install]
WantedBy=multi-user.target

MaroonMed

Read more posts by this author.

USA