0.12.0-9 Fix Jobs
This commit is contained in:
+2
-2
@@ -664,6 +664,8 @@ cat > /etc/systemd/system/ripster-backend.service <<EOF
|
||||
Description=Ripster Backend API
|
||||
After=network.target
|
||||
Wants=network-online.target
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
@@ -673,8 +675,6 @@ WorkingDirectory=${INSTALL_DIR}/backend
|
||||
ExecStart=$(command -v node) src/index.js
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
Environment=NODE_ENV=production
|
||||
Environment=HOME=${SERVICE_HOME}
|
||||
|
||||
Reference in New Issue
Block a user