Skip to content

Installing EteSync DAV on Linux

Simon Vandevelde edited this page Jan 12, 2021 · 1 revision

EteSync-DAV on Linux

This page details a guide on how to set up the EteSync-DAV bridge on Linux. It assumes that you have basic knowledge of how to use the terminal.

Download & Run

To download the DAV, head over to the releases page and download the linux-amd64-etesync-dav file.

Next we open up a terminal, change our directory to downloads, give the file execute permissions and we can then run for the first time.

$ cd ~/Downloads  
$ chmod +x linux-amd64-etesync-dav
$ ./linux-amd64-etesync-dav

You should now be able to surf to http://localhost:37358/.web/login/, where you will be greeted by a login screen.

Autostart

Next up, we want to make sure that this program is always started whenever we boot our computer. To do that, we will be using a systemd file.

First, move the binary file to the /usr/local/bin folder.

$ mv linux-amd64-etesync-dav /usr/local/bin/etesync-dav

Next, we create a file called etesync-dav.service. You can place this file anywhere for now. In the file, you should insert the following:

[Unit]
Description=Cal/CardDAV frontend for Etesync

[Service]
Type=simple
ExecStart=/usr/local/bin/etesync-dav

[Install]
WantedBy=default.target

Concretely, this is a systemd service file that lets systemd know that we want it to execute the etesync-dav file in /usr/local/bin. For systemd to see this file, we need to move it first (you might need sudo for this). After moving the file, we will tell systemd to (a) run the program at boot, and (b) run the program now

$ sudo mv etesync-dav.service /usr/lib/systemd/user/etesync-dav.service
$ systemctl --user enable etesync-dav
$ systemctl --user start etesync-dav

And that's it! Now you can connect the EteSync-DAV to clients by following the rest of the README.

Clone this wiki locally