Skip to content

Instantly share code, notes, and snippets.

@rinigus
Last active April 13, 2018 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinigus/b9fe24551ba8f8e590d94a45761f4a54 to your computer and use it in GitHub Desktop.
Save rinigus/b9fe24551ba8f8e590d94a45761f4a54 to your computer and use it in GitHub Desktop.
Automatic activation of OSM Scout Server in SailfishOS

Since one user was not able to get automatic activation working due to the inability of OSM Scout Server to create systemd socket, I am pasting contents of the required files here.

The files have to be put into /home/nemo/.config/systemd/user (see end of https://rinigus.github.io/osmscout-server/en/ for details).

osmscout-server.service

[Unit]
Description=OSM Scout Server

[Service]
ExecStart=/usr/bin/harbour-osmscout-server --console --systemd --quiet

osmscout-server.socket

[Unit]
Description=OSM Scout Server Socket

[Socket]
ListenStream=127.0.0.1:8553

[Install]
WantedBy=user-session.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment