install.fairie/home/dot_config/gitomatic/gitomatic.service.tmpl
enggnr 836af2b9be
32 gitomatic (#61)
* Initial work to support gitomatic services

* Changes to create systemd service to run gitomatic

* Update logic after review

* Support MacOS
2023-07-09 00:44:11 -04:00

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