Added cloudflared.service

This commit is contained in:
Steven Seifried 2022-01-16 20:51:49 +01:00
parent 6c5c3034cb
commit b6905a4010
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

16
cloudflared.service Normal file
View file

@ -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