Sunil Mohan Adapa b8b2c85eea
deluge: Cleanup and simplify setup code
- Use various action utilities to simplify daemon management.

- Instead of writing systemd service file to /etc ship an override file in
/usr/lib/systemd/system/*.d/. deluged and deluge-web both have systemd unit file
shipped. They are very close to what we want from them. Drop the old service file.

- Don't write /etc/default/deluged, it is not used in the systemd unit file.

- App's setup version has not been incremented as it has already been
incremented for the next release.

Tests:

- Fresh install of the app works in testing container. Functional tests work as
expected.

- /var/lib/deluged/config/web.conf is created when deluge-web is started
confirming that the correct configuration path is being used. Also app works on
/deluge web path.

- Old systemd unit file is removed when the setup is run when it is present to
due to deluge installation attempt previously.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-12-13 13:48:51 +02:00
..
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:54 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-14 10:52:20 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00