Skip to content

Commit

Permalink
dropbox: make dropboxd outlive dropbox-cli start (#277422)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Sep 27, 2024
2 parents d08d8fd + 8c79e59 commit 0410580
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/applications/networking/dropbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,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;
Expand Down

0 comments on commit 0410580

Please sign in to comment.