Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

systemd service #27

Open
dkebler opened this issue Jan 24, 2019 · 0 comments
Open

systemd service #27

dkebler opened this issue Jan 24, 2019 · 0 comments
Labels

Comments

@dkebler
Copy link

dkebler commented Jan 24, 2019

Don't know if this is covered but the old docs don't talk about launching verdaccio as a systemd service. Yet there is a systemd directory in the repo and a unit file therein.

[Unit]
Description=verdaccio Service

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

[Install]
WantedBy=multi-user.target
@juanpicado juanpicado added help wanted Extra attention is needed good first issue Good for newcomers documentation labels Mar 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants