We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8edfed2 + fda322d commit ae50993Copy full SHA for ae50993
roles/xsnippet_api/templates/systemd.service.j2
@@ -2,6 +2,7 @@
2
Description = XSnippet API
3
After = network.target network-online.target
4
Wants = network-online.target
5
+StartLimitIntervalSec = 0
6
7
[Service]
8
WorkingDirectory = {{ xsnippet_api_root }}
@@ -11,6 +12,7 @@ Group = {{ xsnippet_api_user }}
11
12
ExecStartPre = {{ xsnippet_api_database_upgrade_bin }}
13
ExecStart = {{ xsnippet_api_bin }}
14
Restart = on-failure
15
+RestartSec = 30
16
17
[Install]
18
WantedBy = multi-user.target
0 commit comments