0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

[GH-83] create systemd service

This commit is contained in:
030 2016-11-03 10:49:49 +01:00
parent f84ca18798
commit eebc466e34

View file

@ -0,0 +1,9 @@
[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'})"