0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/systemd/verdaccio.service

13 lines
268 B
SYSTEMD
Raw Normal View History

2016-11-03 04:49:49 -05:00
[Unit]
Description=verdaccio Service
[Service]
Type=simple
User=verdaccio
WorkingDirectory=/home/verdaccio
ExecStart=/usr/local/lib/npm/bin/verdaccio
ExecStop=/usr/bin/bash -c "kill $(ps -ef | grep ^verdacc+ | awk {'print $2'})"
[Install]
WantedBy=multi-user.target