Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2c2e140

Browse files
committed
Add 'After=network-online.target' to the service files
We were missing this "After=network-online.target" line, which is on our production servers and waits for the network to be operational before starting the service.
1 parent c8d4bad commit 2c2e140

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

other/systemd/dbhub-api.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Unit]
22
Description=DBHub.io API daemon
33
Documentation=https://github.com/sqlitebrowser/dbhub.io
4-
Requires=network-online.target
54
Wants=network-online.target
5+
After=network-online.target
66
AssertFileIsExecutable=/usr/local/bin/api
77

88
[Service]

other/systemd/dbhub-db4s.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Unit]
22
Description=DBHub.io DB4S connector
33
Documentation=https://github.com/sqlitebrowser/dbhub.io
4-
Requires=network-online.target
54
Wants=network-online.target
5+
After=network-online.target
66
AssertFileIsExecutable=/usr/local/bin/db4s
77

88
[Service]

other/systemd/dbhub-live.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Unit]
22
Description=DBHub.io Live database daemon
33
Documentation=https://github.com/sqlitebrowser/dbhub.io
4-
Requires=network-online.target
54
Wants=network-online.target
5+
After=network-online.target
66
AssertFileIsExecutable=/usr/local/bin/live
77

88
[Service]

other/systemd/dbhub-webui.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Unit]
22
Description=DBHub.io Website User Interface
33
Documentation=https://github.com/sqlitebrowser/dbhub.io
4-
Requires=network-online.target
54
Wants=network-online.target
5+
After=network-online.target
66
AssertFileIsExecutable=/usr/local/bin/webui
77

88
[Service]

0 commit comments

Comments
 (0)