resilio: remove systemd user service

this used to be part of the upstream btsync package

fixes #26303
This commit is contained in:
Jörg Thalheim 2017-06-02 21:18:59 +01:00
parent c611d03842
commit 3d17573cd4
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -241,7 +241,6 @@ in
}
];
users.extraUsers.rslsync = {
description = "Resilio Sync Service user";
home = cfg.storagePath;
@ -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 ];
};
}