1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/systemd/verdaccio.service

13 lines
258 B
SYSTEMD
Raw Normal View History

2016-11-03 10:49:49 +01:00
[Unit]
Description=verdaccio Service
[Service]
Type=simple
User=verdaccio
WorkingDirectory=/home/verdaccio
ExecStart=/usr/bin/env verdaccio
2016-11-03 10:49:49 +01:00
ExecStop=/usr/bin/bash -c "kill $(ps -ef | grep ^verdacc+ | awk {'print $2'})"
[Install]
WantedBy=multi-user.target