Skip to content

Commit

Permalink
Add script/root/sv (for runit)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitz committed Apr 10, 2010
1 parent 13a3b30 commit 99dfdd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/root/sv/log/run
@@ -0,0 +1,3 @@
#!/bin/sh
mkdir -p /var/log/opendatanow
svlogd -ttt /var/log/opendatanow
7 changes: 7 additions & 0 deletions script/root/sv/run
@@ -0,0 +1,7 @@
#!/bin/sh
exec 2>&1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH
set -e
cd /root/odn-scripts
exec ./cycle-daemon

0 comments on commit 99dfdd7

Please sign in to comment.