我使用下面的configuration文件在centos 7中启动gunicorn作为systemd servivce。 但systemd没有在centos中find6.那么如何启动gunicorn作为服务?
[Unit] Description=gunicorn daemon After=network.target [Service] User=centos Group=centos WorkingDirectory=/opt/myapp/ ExecStart=/opt/venv/bin/gunicorn --workers 3 --bind 127.0.0.1:8080 controller.wsgi:application [Install] WantedBy=multi-user.target
上面的文件被复制到“/etc/systemd/system/gunicorn.service”在centos 7.但是我怎样才能在centos 6中实现相同的?