transmission: add 'incomplete' and 'watch' dirs to ujail mounts
authorAlexander Egorenkov <egorenar-dev@posteo.net>
Sun, 10 Apr 2022 14:24:24 +0000 (16:24 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 18 Feb 2024 15:54:36 +0000 (16:54 +0100)
commitea055982f477a4a0e01e851cd5e11c7de1ecdeb3
tree5757465f0d2c4795da9b9a18138a04a935bdbe70
parentbac36b94789e83bd6434f1e5b62c43eff03059e2
transmission: add 'incomplete' and 'watch' dirs to ujail mounts

To fix the errors:

Sun Apr 10 14:19:41 2022 daemon.err transmission-daemon[29831]: [2022-04-10 14:19:41.098] watchdir Failed to open directory "/mnt/sda1/openwrt/transmission/watch" (2): No such file or directory (watchdir.c:358)

and

Sun Apr 10 14:20:18 2022 daemon.err transmission-daemon[30175]: [2022-04-10 14:20:18.641] Couldn't create "/mnt/sda1/openwrt/transmission/incomplete": Permission denied (file-posix.c:243)

References:
- https://github.com/openwrt/packages/issues/17674

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit cbc1b0790dd673d57ec673c159bee8d7b4a2c22b)
net/transmission/files/transmission.init