Upgrade RS discourse, increase service timeouts
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"automatic": {
|
"automatic": {
|
||||||
"fqdn": "rs-discourse-1",
|
"fqdn": "rs-discourse-1",
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
"os_version": "5.4.0-1118-kvm",
|
"os_version": "5.4.0-1133-kvm",
|
||||||
"hostname": "rs-discourse-1",
|
"hostname": "rs-discourse-1",
|
||||||
"ipaddress": "192.168.122.30",
|
"ipaddress": "192.168.122.30",
|
||||||
"roles": [
|
"roles": [
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
"postfix::_attributes",
|
"postfix::_attributes",
|
||||||
"postfix::sasl_auth",
|
"postfix::sasl_auth",
|
||||||
"hostname::default",
|
"hostname::default",
|
||||||
"firewall::default",
|
"discourse::default",
|
||||||
"discourse::default"
|
"firewall::default"
|
||||||
],
|
],
|
||||||
"platform": "ubuntu",
|
"platform": "ubuntu",
|
||||||
"platform_version": "20.04",
|
"platform_version": "20.04",
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ systemd_unit "discourse.service" do
|
|||||||
Environment: "SUPERVISED=true",
|
Environment: "SUPERVISED=true",
|
||||||
ExecStart: "#{deploy_path}/launcher start app",
|
ExecStart: "#{deploy_path}/launcher start app",
|
||||||
ExecStop: "#{deploy_path}/launcher stop app",
|
ExecStop: "#{deploy_path}/launcher stop app",
|
||||||
|
TimeoutStartSec: '300',
|
||||||
|
TimeoutStopSec: '30'
|
||||||
},
|
},
|
||||||
Install: {
|
Install: {
|
||||||
WantedBy: "multi-user.target"
|
WantedBy: "multi-user.target"
|
||||||
|
|||||||
Reference in New Issue
Block a user