cloudflared/linux_service: Add missing /etc/init.d shebang
When using sysv init scripts, `cloudflared` fails to start due to the missing shebang interpreter line. This patch adds the missing shebang.
This commit is contained in:
parent
6a331b13ba
commit
10e4a2940c
|
@ -84,7 +84,8 @@ WantedBy=timers.target
|
||||||
var sysvTemplate = ServiceTemplate{
|
var sysvTemplate = ServiceTemplate{
|
||||||
Path: "/etc/init.d/cloudflared",
|
Path: "/etc/init.d/cloudflared",
|
||||||
FileMode: 0755,
|
FileMode: 0755,
|
||||||
Content: `# For RedHat and cousins:
|
Content: `#!/bin/sh
|
||||||
|
# For RedHat and cousins:
|
||||||
# chkconfig: 2345 99 01
|
# chkconfig: 2345 99 01
|
||||||
# description: Argo Tunnel agent
|
# description: Argo Tunnel agent
|
||||||
# processname: {{.Path}}
|
# processname: {{.Path}}
|
||||||
|
|
Loading…
Reference in New Issue