From e152b0eb881afad56ab4ffb884933925215ff523 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 31 Dec 2020 22:51:01 +0100 Subject: [PATCH] svc adjustment --- nas-webdav.service | 2 +- start.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nas-webdav.service b/nas-webdav.service index 08cb08c..2010818 100644 --- a/nas-webdav.service +++ b/nas-webdav.service @@ -2,7 +2,7 @@ Description=NAS WebDav-Server [Service] -EnvironmentFile=-/etc/default/my-application +# EnvironmentFile=-/etc/default/my-application ExecStart=/home/michael/nas-webdav/start.sh WorkingDirectory=/home/michael/nas-webdav LimitNOFILE=4096 diff --git a/start.sh b/start.sh index f8d8c79..8e260cb 100755 --- a/start.sh +++ b/start.sh @@ -1,2 +1,3 @@ #!/bin/bash -npm start \ No newline at end of file +source .bashrc +node dist/index.js \ No newline at end of file