mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
Merge pull request #397 from metaa/patch-1
Using the env path in the systemd service
This commit is contained in:
commit
e180d37343
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ Description=verdaccio Service
|
||||||
Type=simple
|
Type=simple
|
||||||
User=verdaccio
|
User=verdaccio
|
||||||
WorkingDirectory=/home/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'})"
|
ExecStop=/usr/bin/bash -c "kill $(ps -ef | grep ^verdacc+ | awk {'print $2'})"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue