├── README.md ├── river6 └── forever.json ├── testing └── alloptions │ ├── forever.json │ ├── alloptions.js │ └── package.json └── LICENSE /README.md: -------------------------------------------------------------------------------- 1 | # foreverApps 2 | Apps for forever-server. 3 | -------------------------------------------------------------------------------- /river6/forever.json: -------------------------------------------------------------------------------- 1 | { 2 | "script": "river6.js", 3 | "description": "A test of River6 running in forever-server.", 4 | "reload": { 5 | "urlRepo": "https://github.com/scripting/river6.git", 6 | "repoPath": "" 7 | }, 8 | "enabled": true 9 | } 10 | -------------------------------------------------------------------------------- /testing/alloptions/forever.json: -------------------------------------------------------------------------------- 1 | { 2 | "script": "alloptions.js", 3 | "description": "A test of forever.json features.", 4 | "reload": { 5 | "urlRepo": "https://github.com/scripting/forever-apps.git", 6 | "repoPath": "testing/alloptions/" 7 | }, 8 | "restartAfterSecs": 60, 9 | "enabled": true 10 | } 11 | -------------------------------------------------------------------------------- /testing/alloptions/alloptions.js: -------------------------------------------------------------------------------- 1 | const myProductName = "alloptions", myVersion = "0.4.0"; 2 | 3 | const utils = require ("daveutils"); 4 | 5 | function everyMinute () { 6 | console.log ("\n" + myProductName + ": " + new Date ().toLocaleTimeString () + "."); 7 | } 8 | 9 | console.log ("\n" + myProductName + " v" + myVersion + "\n"); 10 | 11 | utils.runEveryMinute (everyMinute); 12 | -------------------------------------------------------------------------------- /testing/alloptions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "alloptions", 3 | "description": "A test of forever.json features.", 4 | "author": "Dave Winer ", 5 | "version": "0.4.0", 6 | "scripts": { 7 | "start": "node alloptions.js" 8 | }, 9 | "dependencies" : { 10 | "daveutils": "*" 11 | }, 12 | "license": "MIT", 13 | "engines": { 14 | "node": "*" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Dave Winer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------