- Yapılandırmalar eski yerinde
/etc/unicorn unicorn-multi.sh(şimdilik)/etc/unicornaltında (executable olması gerekmiyorunicorn-multibetiği/etc/init.daltında- Bu sistemin çalışması için mevcut
unicornbetiğini kaldırmak gerekmiyor ama kaldırılırsa daha güvenli olabilir.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for gem in `cat gemler.txt`; do | |
| gemler="$gemler $gem" | |
| done | |
| gem install $gemler | |
| for paket in `cat paketler.txt`; do | |
| paketler="$paketlerler $paket" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aptitude | |
| at | |
| bash-completion | |
| bmon | |
| bzip2 | |
| ccze | |
| console-setup | |
| console-terminus | |
| curl | |
| dnsutils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { [ -d ~/.teamocil ] && | |
| _teamocil() | |
| { | |
| local cur | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| local files=$(for f in ~/.teamocil/*; do f=$(basename $f); echo ${f%.*}; done) | |
| COMPREPLY=($(compgen -W "${files}" $cur)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
| <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
| <!-- | |
| This file is part of avahi. | |
| avahi is free software; you can redistribute it and/or modify it | |
| under the terms of the GNU Lesser General Public License as | |
| published by the Free Software Foundation; either version 2 of the | |
| License, or (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
| <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
| <service-group> | |
| <name replace-wildcards="yes">SSH de %h</name> | |
| <service protocol="any"> | |
| <type>_ssh._tcp</type> | |
| <port>22</port> | |
| </service> | |
| <service protocol="any"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Source: http://www.cyberciti.biz/faq/iptables-connection-limits-howto/ | |
| IPT=/sbin/iptables | |
| # Max connection in seconds | |
| SECONDS=100 | |
| # Max connections per IP | |
| BLOCKCOUNT=10 | |
| # .... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script for single or multiple unicorn installations. Expects at least one .conf | |
| # file in /etc/unicorn | |
| # | |
| # Modified by [email protected] http://github.com/ecylmz | |
| # based on http://gist.github.com/504875 by http://github.com/jaygooby | |
| # | |
| ## A sample /etc/unicorn/my_app.conf | |
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script for single or multiple unicorn installations. Expects at least one .conf | |
| # file in /etc/unicorn | |
| # | |
| # Modified by [email protected] http://github.com/jaygooby | |
| # based on http://gist.github.com/308216 by http://github.com/mguterl | |
| # | |
| ## A sample /etc/unicorn/my_app.conf | |
| ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # init.d script for single or multiple unicorn installations. Expects at least one .conf | |
| # file in /etc/unicorn | |
| # | |
| # Modified by [email protected] http://github.com/jaygooby | |
| # based on http://gist.github.com/308216 by http://github.com/mguterl | |
| # | |
| ## A sample /etc/unicorn/my_app.conf | |
| ## |