[Unit] Description=Live Hugo Server for a Site After=network-online.target Requires=opt.mount After=opt.mount Requires=mnt-data.mount After=mnt-data.mount [Service] # User=sysadmin Group=sysadmin Type=simple ExecStart=/bin/bash /opt/hugo/run %i Restart=on-failure RestartSec=5 [Install] WantedBy=default.target