Add 'droppy.sh'

This commit is contained in:
virtubox 2017-10-17 12:44:28 +00:00
parent a2db0bfae3
commit 0ce81058af
1 changed files with 8 additions and 0 deletions

8
droppy.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
npm install -g droppy
groupadd -r droppy
useradd -r -s /bin/false -d /srv/droppy -g droppy droppy
mkdir -p /srv/droppy/config /srv/droppy/files
chown -R droppy:droppy /srv/droppy
chmod 755 /srv/droppy
wget -O /etc/systemd/system/droppy.service https://git.virtubox.net/virtubox/seedbox/raw/master/etc/systemd/system/droppy.service