Generate a Supervised-Service Template for the Collector
Source:R/collect.R
rt2s_service_template.RdEmits a ready-to-edit service definition that keeps
rt2s_collect running unattended: a systemd unit, a launchd
plist, a cron @reboot line, or a Dockerfile.
Usage
rt2s_service_template(
type = c("systemd", "launchd", "cron", "docker"),
config_path = "/etc/gtfsrt2static/feeds.csv",
dir = "/var/lib/gtfsrt-archive"
)Value
The template as a character scalar (also printed with
cat() for copy-pasting).