diff --git a/etc/init/walnut.conf b/etc/init/walnut.conf deleted file mode 100644 index 6b10255..0000000 --- a/etc/init/walnut.conf +++ /dev/null @@ -1,21 +0,0 @@ -description "WALNUT, by Daplie" -version "0.7" -author "Daplie Inc" - -# Upstart has nothing in $PATH by default -env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - -# Keep the server running on crash or machine reboot -respawn -respawn limit 10 120 -start on runlevel [2345] - -# Start the server using spark and redirect output to log files -script - DATE=`date '+%F_%H-%M-%S'` - cd /srv/walnut - mkdir -p logs - exec node ./core/bin/walnut \ - > "./logs/access.${DATE}.log" \ - 2> "./logs/error.${DATE}.log" -end script diff --git a/redirects.sample.json b/redirects.sample.json deleted file mode 100644 index 8c6e2e1..0000000 --- a/redirects.sample.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { "from": { "hostname": "example.net" , "path": "" } - , "to": { "hostname": "example.com", "path": "" } - } -, { "from": { "hostname": "www.example.com" , "path": "" } - , "to": { "hostname": "example.com", "path": "" } - } -, { "from": { "hostname": "example.org" , "path": "" } - , "to": { "hostname": "example.com", "path": "/services/org" } - } -]