[Unit] Description=Server component of the Chef systems integration framework After=network.target rabbitmq-server.service couchdb.service Wants=chef-solr.service chef-expander.service [Service] Type=notify Environment="CONFIG=/etc/chef/server.rb" Environment="LOGFILE=/var/log/chef/server.log" Environment="PORT=4000" EnvironmentFile=-/etc/sysconfig/chef-server ExecStartPre=/usr/sbin/chef-create-amqp-passwd ExecStart=/usr/bin/chef-server -u chef -G chef -e production -a thin -p ${PORT} -C ${CONFIG} -L ${LOGFILE} $OPTIONS KillMode=mixed [Install] WantedBy=multi-user.target