Removed executable, added 'npm start' script.

merge-requests/1/merge
knotteye 5 years ago
parent 935b850bcd
commit fcff93c533
  1. 3
      package.json
  2. 3
      satyr
  3. 1
      src/controller.ts

@ -4,6 +4,9 @@
"description": "A livestreaming server.",
"license": "AGPL-3.0",
"author": "knotteye",
"scripts": {
"start": "node build/controller.js"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/knotteye/satyr.git"

@ -1,3 +0,0 @@
#!/usr/bin/env node
const satyr = require("./build/controller");
satyr.boot();

@ -40,4 +40,5 @@ function boot(): void{
mediaserver.boot(mediaconfig);
ircd.boot();
}
boot();
export { boot };