Commit 14951a8c authored by Florian's avatar Florian
Browse files

fix EOF

parent a9e3c979
......@@ -60,7 +60,7 @@ mysql -u root -p"$DATABASE_PASS" -e "CREATE DATABASE `$ETHERPAD_DATABASE`;"
mysql -u root -p"$DATABASE_PASS" -e "GRANT CREATE,ALTER,SELECT,INSERT,UPDATE,DELETE on `$ETHERPAD_DATABASE`.* to '$ETHERPAD_DBUSER'@'localhost' identified by '$ETHERPAD_DBPASS';"
mysql -u root -p"$DATABASE_PASS" -e "FLUSH PRIVILEGES"
cat > etherpad.service << EOF
cat > etherpad.service <<EOF
[Unit]
Description=Etherpad (real-time collaborative document editing)
After=syslog.target network.target
......@@ -75,7 +75,7 @@ ExecStart=$COOPBOX_PATH/etherpad/bin/run.sh
[Install]
WantedBy=multi-user.target
EOF >>
EOF
sudo mv etherpad.service /etc/systemd/system/etherpad.service
sudo systemctl enable etherpad
......@@ -94,7 +94,7 @@ sudo -u $COOPBOX_USER cd $COOPBOX_PATH/yeswiki
# NGINX
sudo rm /etc/nginx/sites-enabled/default
sudo cat > /etc/nginx/sites-available/yeswiki << EOF
sudo cat > /etc/nginx/sites-available/yeswiki <<EOF
server {
listen 80 default_server;
listen [::]:80 default_server;
......@@ -113,7 +113,7 @@ server {
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}
}
EOF >>
EOF
sudo ln -s /etc/nginx/sites-available/yeswiki /etc/nginx/sites-enabled/yeswiki
sudo systemctl restart nginx
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment