Updated for deployment
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
da28abdb0a
commit
2337a87aa3
1
config/.gitignore
vendored
Normal file
1
config/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
local.json
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"admin": {
|
|
||||||
"mail": "james_ketran@ketrenos.com"
|
|
||||||
},
|
|
||||||
"smtp": {
|
|
||||||
"host": "ketrenos.com",
|
|
||||||
"sender": "james_ketran@ketrenos.com"
|
|
||||||
},
|
|
||||||
"basePath": "/ketran"
|
|
||||||
}
|
|
@ -1,18 +1,17 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=OSGC-Aptly REST API
|
Description=Peddlers of Ketran REST API
|
||||||
Requires=
|
Requires=
|
||||||
After=networking.service
|
After=networking.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HTTP_PROXY=http://proxy-chain.intel.com:911/" "NO_PROXY=localhost,127.0.0.1,.intel.com"
|
|
||||||
ExecStart=/usr/bin/npm run backend
|
ExecStart=/usr/bin/npm run backend
|
||||||
WorkingDirectory=/home/jketreno/docker/osgc-aptly/osgc-aptly-rest
|
WorkingDirectory=/home/jketreno/public_html/peddlers-of-ketran
|
||||||
Restart=always
|
Restart=always
|
||||||
# Restart service after 10 seconds if node service crashes
|
# Restart service after 10 seconds if node service crashes
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
SyslogIdentifier=osgc-aptly-rest
|
SyslogIdentifier=peddlers-of-ketran
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user