website icon indicating copy to clipboard operation
website copied to clipboard

Documentation miss-alignment on verdaccio as a service

Open Zanobos opened this issue 6 years ago • 3 comments

Problem

The tips provided at the page: https://verdaccio.org/docs/en/server-configuration suggests to create an user with home directory at /var/lib/verdaccio.

However the service file present with the project verdaccio.service expectes as home directory (working directory) /home/verdaccio

Note

  1. I'm assuming that is a good practice to have as working directory the same home directory
  2. Also the last phrase of the page "This unit assumes you have configuration in /etc/verdaccio/config.yaml and store data in /var/lib/verdaccio, so either move your files to those locations or edit the unit." I think it's out of context

Resolution Align the tip with the content of the service file

Zanobos avatar Mar 06 '19 16:03 Zanobos

I transferred the issue to the right place.

juanpicado avatar Mar 06 '19 18:03 juanpicado

Hi @Zanobos,

what would you recommend? Change the docs to read /home/verdaccio?

DanielRuf avatar Jun 04 '19 08:06 DanielRuf

Hi @DanielRuf ,

I would change the docs to "/home/verdaccio" in any place that mentions something different

Zanobos avatar Jun 05 '19 19:06 Zanobos