Add 'droppy.sh'
This commit is contained in:
parent
a2db0bfae3
commit
0ce81058af
|
@ -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
|
Loading…
Reference in New Issue