Warning, /harvester/templates/systemd/panda_harvester-uwsgi.service.template is written in an unsupported language. File is not indexed.
0001 [Unit]
0002 Description=PanDA Harvester uWSGI
0003 After=network.target remote-fs.target nss-lookup.target
0004
0005 [Service]
0006 User=@@panda_user@@
0007 Group=@@panda_group@@
0008 Type=exec
0009 RemainAfterExit=true
0010 EnvironmentFile=@@virtual_env@@/etc/sysconfig/panda_harvester_env
0011 ExecStartPre=/bin/sh -c '${VIRTUAL_ENV}/bin/python ${SITE_PACKAGES_PATH}/pandaharvester/harvesterscripts/prescript.py -f ${LOG_DIR}/.harvester_info'
0012 ExecStart=/bin/sh -c '${VIRTUAL_ENV}/bin/uwsgi ${VIRTUAL_ENV}/etc/panda/panda_harvester-uwsgi.ini >> ${LOG_DIR}/panda_harvester_stdout.log 2>> ${LOG_DIR}/panda_harvester_stderr.log'
0013 ExecReload=/bin/sh -c '/bin/echo "c" > ${UWSGI_FIFO}'
0014 ExecStop=/bin/sh -c '/bin/echo "q" > ${UWSGI_FIFO}'
0015 Restart=on-failure
0016
0017 [Install]
0018 WantedBy=multi-user.target