uci-hugo/systemd/hugo@.service

19 lines
317 B
INI

[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=3
[Install]
WantedBy=default.target