Use systemd service for git repository.

This commit is contained in:
Andreas B. Mundt 2019-05-24 19:58:20 +03:00
parent d7a1a146dd
commit e51f6c5e2d
3 changed files with 25 additions and 23 deletions

View file

@ -70,12 +70,8 @@
update: no
become_user: "ansible"
- name: install xinetd
apt:
name: xinetd
- name: enable git repo
- name: start git-repo
template:
src: git-repo.j2
dest: "/etc/xinetd.d/git-repo"
notify: "reload xinetd"
dest: "/etc/systemd/system/git-repo.service"
notify: start git-repo