Skip to content

Instantly share code, notes, and snippets.

@rinigus rinigus/autoactivation.md

Last active Apr 13, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.