Ho un semplice script che avvia un'istanza di unicorno (su Ubuntu 12.04LTS). #!/bin/sh case "$1" in start) echo "starting" cd /path && bundle exec unicorn -c /path/config/unicorn.rb -D -E production ;; stop) echo "Stopping Unicorn Instances" kill `cat /tmp/unicorn.pid` ;; restart) echo "sending USR2 to all unicorns" kill -s USR2 …
EDIT: Per qualche ragione metà del mio post è stato troncato, non sono sicuro di cosa sia successo. Aggiornerò presto e posterò che è aggiornato qui in alto. EDIT: ho aggiornato di nuovo il post, scusate la domanda incompleta. EDIT (20:55 EST 10/10/2011): Ho aggiornato /srv/rhodecode/start.sh come suggerito da Steven, …
Qualcuno sa come risolvere questi errori di init che si verificano dal pacchetto powerpanel Cyberpower per Linux? Rif: http://www.cyberpowersystems.com/products/management-software/ppl.html - Ho provato invece ad usare nut, ma ha dei problemi, vale a dire il bug Debian 354429 che disabilita efficacemente syslog, e quindi nut non è un'opzione. Rif: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354429 Produzione: …
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.