From b6905a40109f50fa8946bc720f7798d89be178ee Mon Sep 17 00:00:00 2001 From: Steven Seifried Date: Sun, 16 Jan 2022 20:51:49 +0100 Subject: [PATCH] Added cloudflared.service --- cloudflared.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cloudflared.service diff --git a/cloudflared.service b/cloudflared.service new file mode 100644 index 0000000..e59c243 --- /dev/null +++ b/cloudflared.service @@ -0,0 +1,16 @@ +[Unit] +Description=cloudflared DNS over HTTPS proxy +After=syslog.target network-online.target + +[Service] +Type=simple +User=cloudflared +EnvironmentFile=/etc/default/cloudflared +ExecStart=/usr/local/bin/cloudflared proxy-dns $CLOUDFLARED_OPTS +Restart=on-failure +RestartSec=10 +KillMode=process + +[Install] +WantedBy=multi-user.target +