Comments (3)
The problem seems to be that the HOME
environment variable is not set for the user you are running the script under. Can you try setting it explicitly?
from peerflix-server.
In fact the HOME is set :
printenv | grep HOME
HOME=/root
from peerflix-server.
I'm using upstart on Ubuntu 14.04. Here's my config:
/etc/init/peerflix.conf
description "Peerflix daemon"
start on startup
stop on shutdown
expect fork
setuid peerflix-user
env HOME="/home/peerflix-user"
exec forever start -a -l peerflix.log /usr/local/bin/peerflix-server
pre-stop exec forever stop /usr/local/bin/peerflix-server
The init script runs under peerflix-user
user and sets up $HOME
variable.
from peerflix-server.
Related Issues (20)
- can't deploy the project HOT 1
- HTTP2 support HOT 16
- Built-in block list ? HOT 4
- TELEGRAM API HOT 4
- High RAM and CPU usage while torrents are idle? HOT 2
- Automatically resuming torrent HOT 2
- Download not completing HOT 3
- h
- upload functionality does not work HOT 2
- Sx
- Website is showing only a plain white screen. HOT 1
- Static Link? HOT 2
- heroku problem HOT 1
- previous state not found error in while launching peerflix-sever HOT 1
- No Web UI only REST api? HOT 3
- :9000 port does not working... HOT 4
- How to deploy it on IBM Cloud? HOT 1
- Deploying to another platform other than heroku.. HOT 1
- Unable to build docker image for arm machine HOT 1
- User / Client Panel register and login etc.....
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peerflix-server.