mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Improves install and remove script
This commit is contained in:
parent
95033480b1
commit
08df31dcae
2 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,7 @@ sudo mkdir -p $final_path
|
|||
# Copy and set systemd configuration
|
||||
sed -i "s@CHANGEMETOROOTURL@$domain/@g" ../conf/Rocketchat.service
|
||||
sudo cp ../conf/Rocketchat.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
|
||||
# Copy and set nginx configuration
|
||||
nginx_conf="/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||
|
|
|
@ -19,4 +19,5 @@ sudo rm -f /etc/nginx/conf.d/$domain.d/rocketchat.conf
|
|||
sudo rm -rf /var/log/rocketchat/
|
||||
sudo rm -f /etc/systemd/system/Rocketchat.service
|
||||
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart nginx
|
||||
|
|
Loading…
Add table
Reference in a new issue