resilio: remove systemd user service
this used to be part of the upstream btsync package fixes #26303
This commit is contained in:
parent
c611d03842
commit
3d17573cd4
|
@ -241,7 +241,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
users.extraUsers.rslsync = {
|
users.extraUsers.rslsync = {
|
||||||
description = "Resilio Sync Service user";
|
description = "Resilio Sync Service user";
|
||||||
home = cfg.storagePath;
|
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 ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user