Some minor changes..
This commit is contained in:
		| @@ -15,6 +15,10 @@ apt install -y nodejs | ||||
| _etherpad_user="etherpad" | ||||
| adduser --system --home=/var/www/etherpad/ --group $_etherpad_user | ||||
|  | ||||
| # --- | ||||
| # As user 'etherpad' | ||||
| # --- | ||||
|  | ||||
| # Become user etherpad | ||||
| # | ||||
| # Note: its a system account, so you have to provide a shell | ||||
| @@ -25,10 +29,21 @@ su - etherpad -s /bin/bash | ||||
| # | ||||
| git clone --branch master https://github.com/ether/etherpad-lite.git | ||||
|  | ||||
|  | ||||
| # Initial run is needed here! | ||||
| # | ||||
| cd etherpad-lite | ||||
| bin/run.sh | ||||
|  | ||||
| # Exit from user etherpad | ||||
| # | ||||
| exit | ||||
|  | ||||
|  | ||||
| # --- | ||||
| # Continue as user 'root' | ||||
| # --- | ||||
|  | ||||
| # Create systemd service file | ||||
| # | ||||
| cat <<EOF > /etc/systemd/system/etherpad.service | ||||
| @@ -175,7 +190,7 @@ cp -a /var/www/etherpad/etherpad-lite/settings.json /var/www/etherpad/etherpad-l | ||||
| #    change | ||||
| #       "abiword": null, | ||||
| #     to | ||||
| #    "abiword": /usr/bin/abiword, | ||||
| #    "abiword": "/usr/bin/abiword", | ||||
| # | ||||
| # 2.) Uncomment section '"users": {' and set password to make admin settings page | ||||
| #     available - https://${FQHN}/admin | ||||
| @@ -194,9 +209,10 @@ vim /var/www/etherpad/etherpad-lite/settings.json | ||||
| #    - font_family | ||||
| #    - font_size | ||||
| #    - headings2 | ||||
| #    - pad_title | ||||
| #    - padlist2 | ||||
| #    - printer | ||||
| #    - et_title_on_pad | ||||
| #    - table_of_contents | ||||
| #    - set_title_on_pad | ||||
| #    - subscript_and_superscript | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user