website
website copied to clipboard
systemd service
Don't know if this is covered but the old docs don't talk about launching verdaccio as a systemd service. Yet there is a systemd directory in the repo and a unit file therein.
[Unit]
Description=verdaccio Service
[Service]
Type=simple
User=verdaccio
WorkingDirectory=/home/verdaccio
ExecStart=/usr/bin/env verdaccio
ExecStop=/usr/bin/bash -c "kill $(ps -ef | grep ^verdacc+ | awk {'print $2'})"
[Install]
WantedBy=multi-user.target