use systemd.tmpfiles to manage folder permissions
This commit is contained in:
@@ -50,6 +50,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.SavePath} 0755 ${config.services.qbittorrent.user} ${config.services.qbittorrent.group}"
|
||||
"d ${config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath} 0755 ${config.services.qbittorrent.user} ${config.services.qbittorrent.group}"
|
||||
];
|
||||
|
||||
# make qbittorrent use a vpn
|
||||
systemd.services.qbittorrent.vpnConfinement = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user