1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00

Merge pull request #397 from metaa/patch-1

Using the env path in the systemd service
This commit is contained in:
Juan Picado @jotadeveloper 2017-11-05 09:30:57 +01:00 committed by GitHub
commit e180d37343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ Description=verdaccio Service
Type=simple
User=verdaccio
WorkingDirectory=/home/verdaccio
ExecStart=/usr/local/lib/npm/bin/verdaccio
ExecStart=/usr/bin/env verdaccio
ExecStop=/usr/bin/bash -c "kill $(ps -ef | grep ^verdacc+ | awk {'print $2'})"
[Install]