use srcDir, remove old/irellevant code

This commit is contained in:
Cadey Ratio 2016-07-14 16:17:12 -07:00
parent 9cf4501c1b
commit 36cd059810
6 changed files with 1 additions and 20 deletions

View File

@ -2,6 +2,7 @@ version = "0.1.0"
author = "Christine Dodrill <xena@yolo-swag.com>"
description = "PonyAPI server https://github.com/Xe/PonyAPI"
license = "MIT"
srcDir = "src"
bin = @["ponyapi"]
requires "nim >= 0.10.0", "jester#head", "random"

View File

@ -1,7 +0,0 @@
ponyapi.apps.xeserv.us {
log syslog
proxy / http://127.0.0.1:6452 {
proxy_header Host {host}
}
}

View File

@ -1,13 +0,0 @@
[Unit]
Description=PonyAPI Server listening on port 6452
Requires=docker.service
Restart=always
[Service]
ExecStartPre=-/usr/bin/docker pull xena/ponyapi
ExecStartPre=-/usr/bin/docker rm -f ponyapi
ExecStart=/usr/bin/docker run -p 6452:5000 --name ponyapi xena/ponyapi
ExecStop=/usr/bin/docker rm -f ponyapi
[Install]
WantedBy=network.target