MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 3 as of 2014-02-26 19:30:06
  • bash

bash

Bourne again shell.

Server loop

   1 #!/bin/sh
   2 # restart the server in case of failure
   3 logger "Starting server.py"
   4 until /usr/bin/python server.py 1234; do
   5     logger "Server crashed with exit code $?.  Respawning.."
   6     sleep 1
   7 done

Add extra IP address to NIC

Adapted from http://unclean.org/howto/secondip.html

Add extra IP 192.168.1.5 to NIC eth0

   1 ifconfig eth0:0 192.168.1.5
   2 route add -host 192.168.1.5 dev eth0:0
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01