mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
Add named tunnel mode alongside existing quick tunnel, with systemd service and setup helper. Tunnel ID and hostname are configurable via CLOUDFLARED_TUNNEL_ID and CODEMAN_TUNNEL_HOSTNAME env vars.
20 lines
411 B
Desktop File
20 lines
411 B
Desktop File
[Unit]
|
|
Description=Codeman Cloudflare Named Tunnel
|
|
After=network-online.target codeman-web.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/cloudflared tunnel --config %h/.cloudflared/codeman.yml run codeman
|
|
Restart=always
|
|
RestartSec=5
|
|
KillMode=process
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=codeman-tunnel-named
|
|
|
|
[Install]
|
|
WantedBy=default.target
|