Skip to content

Commit e9398e1

Browse files
authored
changed service startup condition
1 parent f680945 commit e9398e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
cat > /tmp/$APP_NAME.service << EOF
4040
[Unit]
4141
Description=$APP_NAME
42-
After=network.target
42+
After=network-online.target
43+
Wants=network-online.target
4344
4445
[Service]
4546
Type=simple

0 commit comments

Comments
 (0)