Skip to content

Commit

Permalink
fix: configure Twingate connector to automatically start & restart (#290
Browse files Browse the repository at this point in the history
)

fix: configure twingate to automatically start & restart
  • Loading branch information
p5 authored Aug 23, 2024
1 parent edabe35 commit 6a0feed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=A Twingate connector container
After=local-fs.target network-online.target
ConditionPathExists=%h/.config/twingate/connector.env

[Container]
Image=docker.io/twingate/connector:latest
Expand All @@ -13,6 +14,7 @@ Network=host

[Service]
TimeoutStartSec=900
Restart=always

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target default.target

0 comments on commit 6a0feed

Please sign in to comment.