Bug 31046 - Неверная подсказка в /etc/init.d/transmission-daemon
Summary: Неверная подсказка в /etc/init.d/transmission-daemon
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: transmission-daemon (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 00:16 MSK by Стас
Modified: 2016-03-11 11:02 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Стас 2015-06-04 00:16:17 MSK
Скрипт /etc/init.d/transmission-daemon не обрабатывает команды reload и condreload, хотя они написаны в подсказке.

[root@host-7 ~]# /etc/init.d/transmission-daemon
Usage: transmission-daemon {start|stop|reload|restart|condstop|condrestart|condreload|status}
[root@host-7 ~]# /etc/init.d/transmission-daemon reload
Usage: transmission-daemon {start|stop|reload|restart|condstop|condrestart|condreload|status}

Два варианта решения: 
1) исправить подсказку;
2) сделать reload алиасом для restart и condreload алиасом для condrestart.
Comment 1 Michael Shigorin 2015-06-04 14:51:23 MSK
Видимо, второе.
Comment 2 Repository Robot 2016-03-11 11:02:20 MSK
transmission-2.92-alt2 -> sisyphus:

* Fri Mar 11 2016 Anton Farygin <rider@altlinux> 2.92-alt2
- fixed permission for the log directory (closes: #26710)
- added condreload and reload targets to initscript (closes: #31046)