我使用asterisk 11.2.1和Fedora 17.我想通过命令“service asterisk start”启动asterisk并停止它“service asterisk stop”。换句话说,我想在加载OS时启动星号
答案 0 :(得分:2)
我认为应该是:
systemctl start asterisk
并停止:
systemctl stop asterisk
启用服务启动时启动:
systemctl enable foo.service
禁止服务在启动期间无法启动:
systemctl disable foo.service