mirror of
https://github.com/key-networks/ztncui.git
synced 2025-06-05 01:33:44 +02:00
issue#91: before-upgrade.sh = before-install.sh
This commit is contained in:
parent
1fb103a07a
commit
3915b24b62
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
getent passwd ztncui || useradd --system --home-dir /opt/key-networks/ztncui --shell /bin/false ztncui
|
||||||
|
if [ $(getent group zerotier-one) ]; then
|
||||||
|
echo "Adding user ztncui to group zerotier-one..."
|
||||||
|
usermod -a -G zerotier-one ztncui
|
||||||
|
chmod g+r /var/lib/zerotier-one/authtoken.secret
|
||||||
|
else
|
||||||
|
echo "Could not add user ztncui to group zerotier-one... is zerotier-one installed?"
|
||||||
|
fi
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ztncui",
|
"name": "ztncui",
|
||||||
"version": "0.8.11",
|
"version": "0.8.13",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www",
|
"start": "node ./bin/www",
|
||||||
|
|
Loading…
Add table
Reference in a new issue