mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
improvement install script
This commit is contained in:
parent
7d1d6cfc4d
commit
ebb7ec8bd2
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,7 @@ sudo ldconfig
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
|
|
||||||
# Create rtorrent user
|
# Create rtorrent user
|
||||||
ynh_system_user_create $app
|
ynh_system_user_create flood
|
||||||
|
|
||||||
# Create data dir
|
# Create data dir
|
||||||
sudo mkdir $data_dir
|
sudo mkdir $data_dir
|
||||||
|
@ -96,6 +96,7 @@ cd /var/www
|
||||||
git clone https://github.com/jfurrow/flood.git
|
git clone https://github.com/jfurrow/flood.git
|
||||||
|
|
||||||
# Launch flood on boot
|
# Launch flood on boot
|
||||||
|
cd $current_dir
|
||||||
sudo cp ../sources/flood.service /etc/systemd/system/flood.service
|
sudo cp ../sources/flood.service /etc/systemd/system/flood.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable flood.service
|
systemctl enable flood.service
|
||||||
|
|
Loading…
Reference in a new issue