服务perl-fcgi启动,无法识别的服务

从http://supportex.net/2011/11/migrating-otrs-apache-nginx/

我有一个文件/usr/local/bin/fastcgi-wrapper.pl/lib/systemd/system/perl-fcgi.serviceperl-fcgi.service有以下内容:

 [Unit] Description=otrs-index.pl [Service] ExecStart=/usr/local/bin/fastcgi-wrapper.pl Type=forking User=otrs Group=nginx Restart=always [Install] WantedBy=multi-user.target 

启用服务后

 systemctl enable perl-fcgi.service 

我跑

 service perl-fcgi start 

但是我收到消息

 perl-fcgi: unrecognized service 

为什么服务不启动? 我的服务器在Debian 6.0上运行。

因为/etc/init.d/perl-fcgi丢失或没有权限+ x – http://nginxlibrary.com/perl-fastcgi/