diff --git a/runit/paster-service/log/run b/runit/paster-service/log/run new file mode 100755 index 00000000..4d73c77a --- /dev/null +++ b/runit/paster-service/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -u root svlogd -tt /home/bookie/Bookie/runit/paster-service/logs diff --git a/runit/paster-service/log/supervise/lock b/runit/paster-service/log/supervise/lock new file mode 100644 index 00000000..e69de29b diff --git a/runit/paster-service/log/supervise/pid b/runit/paster-service/log/supervise/pid new file mode 100644 index 00000000..bea6329b --- /dev/null +++ b/runit/paster-service/log/supervise/pid @@ -0,0 +1 @@ +12618 diff --git a/runit/paster-service/log/supervise/stat b/runit/paster-service/log/supervise/stat new file mode 100644 index 00000000..f5bdd214 --- /dev/null +++ b/runit/paster-service/log/supervise/stat @@ -0,0 +1 @@ +run diff --git a/runit/paster-service/log/supervise/status b/runit/paster-service/log/supervise/status new file mode 100644 index 00000000..391f49e8 Binary files /dev/null and b/runit/paster-service/log/supervise/status differ diff --git a/runit/paster-service/logs/current b/runit/paster-service/logs/current new file mode 100644 index 00000000..e69de29b diff --git a/runit/paster-service/logs/lock b/runit/paster-service/logs/lock new file mode 100644 index 00000000..e69de29b diff --git a/runit/paster-service/run b/runit/paster-service/run new file mode 100755 index 00000000..64f4d306 --- /dev/null +++ b/runit/paster-service/run @@ -0,0 +1,12 @@ +#!/bin/sh +exec 2>&1 +set -e + +PASTER=/home/bookie/Bookie/bin/paster +ROOT=/home/bookie/Bookie +VENV=/home/bookie/Bookie/bin/activate + +cd $ROOT +. $VENV + +exec chpst -u root $PASTER serve bookie.ini diff --git a/runit/paster-service/supervise/lock b/runit/paster-service/supervise/lock new file mode 100644 index 00000000..e69de29b diff --git a/runit/paster-service/supervise/pid b/runit/paster-service/supervise/pid new file mode 100644 index 00000000..d335bf77 --- /dev/null +++ b/runit/paster-service/supervise/pid @@ -0,0 +1 @@ +12619 diff --git a/runit/paster-service/supervise/stat b/runit/paster-service/supervise/stat new file mode 100644 index 00000000..f5bdd214 --- /dev/null +++ b/runit/paster-service/supervise/stat @@ -0,0 +1 @@ +run diff --git a/runit/paster-service/supervise/status b/runit/paster-service/supervise/status new file mode 100644 index 00000000..edddaad6 Binary files /dev/null and b/runit/paster-service/supervise/status differ