1
0
Fork 0
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:
Taker 2017-11-21 22:36:00 +01:00
parent 7d1d6cfc4d
commit ebb7ec8bd2

View file

@ -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