1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Ghost systemd service. Documentation=https://docs.ghost.org [Service] Type=simple WorkingDirectory=/var/lib/ghost-web User=ghost Environment="NODE_ENV=production" ExecStart=/usr/bin/ghost-web run Restart=always [Install] WantedBy=multi-user.target