summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service')
-rw-r--r--meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service b/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service
new file mode 100644
index 0000000000..decaf0e329
--- /dev/null
+++ b/meta-networking/recipes-connectivity/cloudflared/files/cloudflared.service
@@ -0,0 +1,15 @@
1[Unit]
2Description=cloudflared
3After=network-online.target
4Wants=network-online.target
5
6[Service]
7Type=notify
8DynamicUser=yes
9EnvironmentFile=/etc/default/cloudflared
10ExecStart=/usr/bin/cloudflared --no-autoupdate tunnel run --token ${TUNNEL_TOKEN}
11Restart=on-failure
12RestartSec=5s
13
14[Install]
15WantedBy=multi-user.target