From 7b18a0ef11762485460ed347943bbe90f41c4e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sat, 20 Feb 2016 03:30:22 +0800 Subject: [PATCH] Using systemd, preserve logs dir --- .gitignore | 1 + index.js | 2 ++ logs/README | 1 + 3 files changed, 4 insertions(+) mode change 100644 => 100755 index.js create mode 100644 logs/README diff --git a/.gitignore b/.gitignore index 2d0d9f8..558ff72 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ auth.js db.js node_modules *.swp +*.log diff --git a/index.js b/index.js old mode 100644 new mode 100755 index 8ea0c74..83466d6 --- a/index.js +++ b/index.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + require( "./botanss/package" ); require( "./config/global" ); diff --git a/logs/README b/logs/README new file mode 100644 index 0000000..94e7cab --- /dev/null +++ b/logs/README @@ -0,0 +1 @@ +Allow access to www-data