upstart

How to configure Jenkins to run on port 80

只愿长相守 提交于 2019-11-27 09:57:31
问题 I'm running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins on this system. I've seen some tutorials on how to setup a reverse proxy (Apache, Nginx, etc), however this is a VM dedicated for just jenkins and I'd like keep it as lean as possible while having jenkins running on port 80. I've found the upstart config in /etc/init/jenkins.conf and modified the port to 80 env HTTP_PORT=80 When I start jenkins via service jenkins start , ps reveals that it runs for a few

Daemon vs Upstart for python script

一世执手 提交于 2019-11-27 09:12:53
问题 I have written a module in Python and want it to run continuously once started and need to stop it when I need to update other modules. I will likely be using monit to restart it, if module has crashed or is otherwise not running. I was going through different techniques like Daemon, Upstart and many others. Which is the best way to go so that I use that approach through out my all new modules to keep running them forever? 回答1: From your mention of Upstart I will assume that this question is

MongoDB - Permission denied for socket: /tmp/mongodb-27017.sock

﹥>﹥吖頭↗ 提交于 2019-11-26 16:42:30
问题 I had an unclean shutdown of MongoDB on Ubuntu 10.04 LTS. Now when I login as root and run Mongodb via service mongodb start, I get below error- Mon Dec 12 13:53:15 [initandlisten] ERROR: listen(): bind() failed errno:13 Permission denied for socket: /tmp/mongodb-27017.sock When I run MongoDB manually via root, it works just fine. I can confirm that there is no /tmp/mongodb-27017.sock file root@devbox:~# ll /tmp/ total 16 drwxr-xr-x 4 root root 4096 2011-12-12 13:53 ./ drwxr-xr-x 25 root root

uwsgi upstart on amazon linux

好久不见. 提交于 2019-11-26 06:46:16
问题 I created a uwsgi file following this tutorial https://uwsgi.readthedocs.org/en/latest/Upstart.html on amazon linux. Though It doesn\'t seem to run as Nginx just says bad gateway. If I run the /etc/init/uwsgi.conf description \"uwsgi tiny instance\" start on runlevel [2345] stop on runlevel [06] exec /home/ec2-user/venv/bin/uwsgi --ini /home/ec2-user/uwsgi-prod_demo.ini if I do run the following in shell, then python application runs. /home/ec2-user/venv/bin/uwsgi --ini /home/ec2-user/uwsgi