We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0382c3 commit 9bb419eCopy full SHA for 9bb419e
usr/lib/systemd/system/apisix.service
@@ -1,11 +1,19 @@
1
+# apisix systemd service
2
+# https://github.com/api7/apisix-build-tools/blob/master/usr/lib/systemd/system/apisix.service
3
[Unit]
4
Description=apisix
-Conflicts=apisix.service
5
+#Conflicts=apisix.service
6
After=network-online.target
7
+Wants=network-online.target
8
9
[Service]
10
Type=forking
11
+Restart=on-failure
12
WorkingDirectory=/usr/local/apisix
13
ExecStart=/usr/bin/apisix start
14
ExecStop=/usr/bin/apisix stop
15
ExecReload=/usr/bin/apisix reload
16
+LimitNOFILE=65536
17
+
18
+[Install]
19
+WantedBy=multi-user.target
0 commit comments