Skip to content

JeroenJRP/verdaccio-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

VERDACCIO SERVICE

Script for running verdaccio server as daemon

User

This script run verdaccio under verdaccio user, you should create it

adduser --no-create-home --disabled-login verdaccio

Copy service to init.d

sudo cp service/verdaccio /etc/init.d/verdaccio
sudo chmod +x /etc/init.d/verdaccio

We need also some directories to store configuration and packages

sudo mkdir /etc/verdaccio
sudo mkdir /etc/verdaccio/storage
sudo mv config.yaml /etc/verdaccio/
sudo chown verdaccio:verdaccio /etc/verdaccio/ -R
sudo chmod g+w /etc/verdaccio/storage

You should modify /etc/verdaccio/config.yaml for your needs

Start it!

sudo /etc/init.d/verdaccio start

Forked From

Forked from sinopia-scripts by Fabrizio "ramiel" Ruggeri

About

Script for running Verdaccio server as demon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%