← All posts tagged systemd

agr
code systemd yesod
[Unit]
Description=My awesome website
After=nginx.service

[Install]
WantedBy=multi-user.target

[Service]
WorkingDirectory=/absolute/path/to/directory
User=user
ExecStart=/absolute/path/to/executable config/settings.yml