Skip to content
Newer
Older
100755 9 lines (5 sloc) 156 Bytes
cb4343e @alexkay daemon: Use daemontools
authored Oct 24, 2011
1 #!/bin/sh
2
3 DIR=$(dirname $(realpath $0))
4
ef8cc5a @alexkay daemon: Fix template rendering
authored Oct 24, 2011
5 cd $DIR
6
49ea9d7 @alexkay Backup before starting the daemon
authored Oct 29, 2011
7 setuidgid www sqlite3 db/muspy.db ".dump" > db/muspy.bak
cb4343e @alexkay daemon: Use daemontools
authored Oct 24, 2011
8 exec setuidgid www python -u $DIR/daemon/daemon
Something went wrong with that request. Please try again.