Skip to content

Commit

Permalink
resilio: remove systemd user service
Browse files Browse the repository at this point in the history
this used to be part of the upstream btsync package

fixes #26303
  • Loading branch information
Mic92 committed Jun 2, 2017
1 parent c611d03 commit 3d17573
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions nixos/modules/services/networking/resilio.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ in
}
];


users.extraUsers.rslsync = {
description = "Resilio Sync Service user";
home = cfg.storagePath;
Expand All @@ -265,18 +264,5 @@ in
'';
};
};

systemd.user.services.resilio = with pkgs; {
description = "Resilio Sync user service";
after = [ "network.target" "local-fs.target" ];
serviceConfig = {
Restart = "on-abort";
ExecStart = ''
${resilioSync}/bin/rslsync --nodaemon --config %h/.config/resilio-sync/config.json
'';
};
};

environment.systemPackages = [ resilioSync ];
};
}

2 comments on commit 3d17573

@apeyroux
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you delete it?

@Mic92
Copy link
Member Author

@Mic92 Mic92 commented on 3d17573 Mar 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.