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