Привет всем столкнулся с проблемой некорректно запускается демон трансмиссии нашёл решение на ну оно не помогает куда копать или может кто уже сталкивался? Debian 9 Решение на форуме было такое:
/etc/systemd/system/transmission-daemon.service
[Unit]
Description=Transmission BitTorrent Daemon
After=network.target
After=local-fs.target
[Service]
User=debian-transmission
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload && sudo systemctl start transmission-daemon.service
После чего логично проверить запустилось ли
sudo systemctl status transmission-daemon.service
и в случае успеха оргшанизовать автозапуск
sudo systemctl enable transmission-daemon.service
admin@test-raid:~$ sudo nano /etc/systemd/system/transmission-daemon.service
[sudo] пароль для admin:
admin@test-raid:~$ sudo systemctl daemon-reload && sudo systemctl start transmission-daemon.service
admin@test-raid:~$ sudo systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
Loaded: loaded (/etc/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/transmission-daemon.service.d
└─override.conf
Active: failed (Result: exit-code) since Thu 2019-03-21 14:06:38 +05; 5s ago
Process: 1721 ExecStop=/bin/kill -s STOP $MAINPID (code=exited, status=1/FAILURE)
Process: 1719 ExecStart=/usr/bin/transmission-daemon -f --log-error (code=exited, status=1/FAILURE)
Main PID: 1719 (code=exited, status=1/FAILURE)
мар 21 14:06:38 test-raid systemd[1]: Started Transmission BitTorrent Daemon.
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] JSON parse failed in /var/lib/tra
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] transmission-daemon Error loading
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Main process exited, code=exited, status=1/FA
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Control process exited, code=exited status=1
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Unit entered failed state.
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.
sysadmin@test-raid:~$ sudo systemctl enable transmission-daemon.service
Synchronizing state of transmission-daemon.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable transmission-daemon
Removed /etc/systemd/system/multi-user.target.wants/transmission-daemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/transmission-daemon.service → /etc/systemd/system/transmission-daemon.service.
sysadmin@test-raid:~$ sudo systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
Loaded: loaded (/etc/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/transmission-daemon.service.d
└─override.conf
Active: failed (Result: exit-code) since Thu 2019-03-21 14:06:38 +05; 25s ago
Main PID: 1719 (code=exited, status=1/FAILURE)
мар 21 14:06:38 test-raid systemd[1]: Started Transmission BitTorrent Daemon.
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] JSON parse failed in /var/lib/tra
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] transmission-daemon Error loading
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Main process exited, code=exited, status=1/FA
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Control process exited, code=exited status=1
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Unit entered failed state.
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.
admin@test-raid:~$ journalctl
Hint: You are currently not seeing messages from other users and the system.
Users in the 'systemd-journal' group can see all messages. Pass -q to
turn off this notice.
No journal files were opened due to insufficient permissions.
admin@test-raid:~$ sudo systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
Loaded: loaded (/etc/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/transmission-daemon.service.d
└─override.conf
Active: failed (Result: exit-code) since Thu 2019-03-21 14:06:38 +05; 1min 2s ago
Main PID: 1719 (code=exited, status=1/FAILURE)
мар 21 14:06:38 test-raid systemd[1]: Started Transmission BitTorrent Daemon.
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] JSON parse failed in /var/lib/tra
мар 21 14:06:38 test-raid transmission-daemon[1719]: [2019-03-21 14:06:38.656] transmission-daemon Error loading
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Main process exited, code=exited, status=1/FA
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Control process exited, code=exited status=1
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Unit entered failed state.
мар 21 14:06:38 test-raid systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.
lines 1-14/14 (END)
admin@test-raid:~$ sudo systemctl enable transmission-daemon.service
Synchronizing state of transmission-daemon.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable transmission-daemon
.