Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How set Transmission to wait for external disk #104

Open
frestalink opened this issue Feb 17, 2022 · 1 comment
Open

How set Transmission to wait for external disk #104

frestalink opened this issue Feb 17, 2022 · 1 comment

Comments

@frestalink
Copy link

Raspberry Pi 3+ with Libreelec 9.2.8
I tried create 'init.sh' on /storage/.kodi/addons/service.transmission/ with value /bin/sleep 30, but nothing happens, Transmission is initiaded before mount external disk.

@LmarLoe
Copy link

LmarLoe commented Aug 10, 2023

[Unit]
Description=Transmission
After=kodi.service multi-user.target network-online.target
Requires=multi-user.target network-online.target
ConditionPathIsMountPoint=/var/media/Ext_drive

[Service]
Type=forking
ExecStart=/bin/sh /storage/.kodi/addons/service.transmission/bin/transmission.start
Restart=on-failure

[Install]
WantedBy=multi-user.target
WantedBy=var-media-Ext_drive.mount

Replace Ext_drive with the label of your external drive

It is necessary to edit /storage/.kodi/addons/service.transmission/system.d/service.transmission.service directly

Stop/start transmission plugin in the kodi GUI.
Make sure that the appropriate symlinks are created for .service and .wants in /storage/.config/system.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants