install.fairie/home/dot_config/gitomatic/gitomatic.service.tmpl
Brian Zalewski 1bab833011 Latest
2023-07-09 08:11:02 +00:00

13 lines
273 B
Cheetah

{{- if eq .host.distro.family "linux" -}}
[Unit]
Description=Service to watch git repositories
[Service]
Type=simple
User={{ .user.username }}
ExecStart={{ .chezmoi.homeDir }}/.local/bin/gitomatic-service
Restart=on-failure
[Install]
WantedBy=multi-user.target
{{ end }}