Hi,
I get errors when I do systemctl start transmission.service
Please help.
Error and service files as follows:
Code
transmission.service - transmission container
Loaded: [[0;1;31merror[[0m (Reason: Invalid argument)
Active: inactive (dead)
Feb 06 13:41:07 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:8] Unknown lvalue 'ExecStartPre' in section 'Unit'[[0m
Feb 06 13:41:07 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:9] Unknown lvalue 'ExecStart' in section 'Unit'[[0m
Feb 06 13:41:07 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:10] Unknown lvalue 'ExecStop' in section 'Unit'[[0m
Feb 06 13:41:07 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:11] Unknown lvalue 'WantedBy' in section 'Unit'[[0m
Feb 06 13:41:07 Box systemd[1]: [[0;1;31mtransmission.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;31m[/storage/.config/system.d/transmission.service:4] Failed to add dependency on service.system.docker.service[Servic
e], ignoring: Invalid argument[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:5] Unknown lvalue 'Restart' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:6] Unknown lvalue 'RestartSec' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:7] Unknown lvalue 'TimeoutStartSec' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:8] Unknown lvalue 'ExecStartPre' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:9] Unknown lvalue 'ExecStart' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:10] Unknown lvalue 'ExecStop' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;39m[/storage/.config/system.d/transmission.service:11] Unknown lvalue 'WantedBy' in section 'Unit'[[0m
Feb 06 13:41:16 Box systemd[1]: [[0;1;31mtransmission.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.[[0m
Display More
The contents of my service file are as below:
Code
[Unit]
Description=transmission container
Requires=service.system.docker.service
After=service.system.docker.service[Service]
Restart=always
RestartSec=10s
TimeoutStartSec=0
ExecStartPre=-/bin/sh -c "mkdir -p /storage/.kodi/userdata/.apps/transmission"
ExecStart=/storage/.kodi/addons/service.system.docker/bin/docker run --rm --net=host -d \
--name=transmission \
--hostname=libreelec-transmission \
--volume=/var/media/Data/Downloads:/watch \
--volume=/var/media/Data/Downloads:/downloads \
--volume=/var/media/Data/Downloads/Incomplete:/incomplete \
--volume=/storage/.kodi/userdata/.apps/transmission:/config \
--publish=9091:9091 \
--publish=51413:45555 \
timhaak/transmission
ExecStop=/storage/.kodi/addons/service.system.docker/bin/docker stop transmission[Install]
WantedBy=multi-user.target
Display More