Unverified Commit 8c79e599 authored by Matt Schreiber's avatar Matt Schreiber
Browse files

dropbox: make dropboxd outlive `dropbox-cli start`

by disabling the `--die-with-parent` option to `bwrap`.
parent fad1b8e9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -33,6 +33,12 @@ in
buildFHSEnv {
  name = "dropbox";

  # The dropbox-cli command `dropbox start` starts the dropbox daemon in a
  # separate session, and wants the daemon to outlive the launcher.  Enabling
  # `--die-with-parent` defeats this and causes the daemon to exit when
  # dropbox-cli exits.
  dieWithParent = false;

  # dropbox-cli (i.e. nautilus-dropbox) needs the PID to confirm dropbox is running.
  # Dropbox's internal limit-to-one-instance check also relies on the PID.
  unsharePid = false;