[Unit]
Description=Quartz notes server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=zaine
Group=zaine
WorkingDirectory=/home/zaine/Documents/quartz
Environment=NODE_ENV=production
Environment=PATH=/usr/local/bin:/usr/bin:/bin
ExecStart=/usr/bin/node ./quartz/bootstrap-cli.mjs build --serve --port 8080
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
