mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
[GH-83] systemd service could not be enabled
This commit is contained in:
parent
eebc466e34
commit
b9b61c7e97
1 changed files with 3 additions and 0 deletions
|
@ -7,3 +7,6 @@ User=verdaccio
|
||||||
WorkingDirectory=/home/verdaccio
|
WorkingDirectory=/home/verdaccio
|
||||||
ExecStart=/usr/local/lib/npm/bin/verdaccio
|
ExecStart=/usr/local/lib/npm/bin/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]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue