Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
const functions = require('firebase-functions') | |
const admin = require('firebase-admin') | |
const express = require('express') | |
const app = express() | |
const auth = admin.auth() | |
const cors = require('cors') | |
const cookieParser = require('cookie-parser') | |
const DiscourseSSO = require('discourse-sso') | |
const env = functions.config() | |
const __DEBUG__ = false |
{"lastUpload":"2019-03-29T03:23:06.991Z","extensionVersion":"v3.2.7"} |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)