Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Whisperfish - Signal on Sailfish OS
Whisperfish - Signal on Sailfish OS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 225
    • Issues 225
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Whisperfish
  • Whisperfish - Signal on Sailfish OSWhisperfish - Signal on Sailfish OS
  • Merge requests
  • !115

Merged
Created Feb 12, 2021 by Gabriel Margiani@gamargContributor

Simple daemon

  • Overview 6
  • Commits 17
  • Pipelines 13
  • Changes 21

Closes #3 (closed)

The Background feature is implemented by keeping the app (including the qml engine) running, when all windows are closed. This allows us to handle dbus and notification events in qml.

An autostart option is added via a systemd user service. Autostart and background mode are fully separate - so it is possible to just start the app at boot without keeping it in the background. After autostart, the app will only be hidden if background-mode is enabled and storage encryption is disabled.

The related feature and config-option can be disabled using the "harbour" feature flag (except for dbus-single-instance management, which we might need for custom url handlers as well).

To keep the systemd service out of the rpm if "harbour" is requested, build.rs contains some conditional copying and filtering of the rpm .spec file. This might be overkill, since the captcha locks us out of harbour for the foreseeable future, but on the other hand this provides infrastructure that could be easily adjusted to other non-harbour features like a share system.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: simple-daemon