836af2b9be
* Initial work to support gitomatic services * Changes to create systemd service to run gitomatic * Update logic after review * Support MacOS
12 lines
247 B
Cheetah
12 lines
247 B
Cheetah
{{- if eq .host.distro.family "linux" -}}
|
|
[Unit]
|
|
Description=Service to watch git repositories
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart={{ .chezmoi.homeDir }}/.local/bin/gitomatic_service
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
{{ end }}
|