mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Update install
This commit is contained in:
parent
31f50b3a79
commit
6a1b40743c
1 changed files with 0 additions and 5 deletions
|
@ -78,11 +78,6 @@ sudo cp "$final_path/utilities/lstu.default" /etc/default/lstu
|
||||||
## Démarrage auto du service
|
## Démarrage auto du service
|
||||||
sudo systemctl enable lstu.service
|
sudo systemctl enable lstu.service
|
||||||
|
|
||||||
## Mise en place des crons
|
|
||||||
sudo cp ../conf/cron_lstu /etc/cron.d/$app
|
|
||||||
sudo sed -i "s@__FINALPATH__@$final_path/@g" /etc/cron.d/$app
|
|
||||||
sudo chmod +x $final_path/script/lstu
|
|
||||||
|
|
||||||
# Configuration de logrotate
|
# Configuration de logrotate
|
||||||
sed -i "s@__FINALPATH__@$final_path@g" ../conf/logrotate
|
sed -i "s@__FINALPATH__@$final_path@g" ../conf/logrotate
|
||||||
sudo cp ../conf/logrotate /etc/logrotate.d/$app
|
sudo cp ../conf/logrotate /etc/logrotate.d/$app
|
||||||
|
|
Loading…
Add table
Reference in a new issue