-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configurable port for nginx. Ubuntu upstart file for daemonizing the …
…node server.
- Loading branch information
1 parent
e77bb6c
commit 7cc3a9b
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
description "Swiper Server" | ||
author "Hayden Fuss <[email protected]>" | ||
|
||
start on (filesystem and net-device-up IFACE=lo) | ||
stop on runlevel [!2345] | ||
|
||
respawn | ||
|
||
env PORT=5000 | ||
|
||
chdir /root/swiper/ | ||
exec node server.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters