Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 574 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 574 Bytes

PuIPWOPI - Public IP for WOPI

Description

This script looks for the actual public IP address and add this IP to the WOPI configuration of Nextcloud. It uses the OpenSource Projekt https://ipify.org to gather the public IP.

It is helpful to use for a Collabora Server next to Nextcloud from home.

Usage

Download or Copy the script into an editor and save it. Use chmod +x to make it executable. Now for example you can use crontag -e to start the script every day or hour.

My crontab job looks like that:

20 0/3 * * * /{PATH-TO-FILE}/pubipwopi.sh >> /dev/null