Restart Gitea if service changes
This commit is contained in:
parent
70503185cd
commit
d4e4c53b00
@ -1,6 +1,10 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: restart gitea
|
||||
service:
|
||||
name: gitea.service
|
||||
state: restarted
|
||||
- name: gitea add default user
|
||||
command:
|
||||
argv:
|
||||
|
@ -99,6 +99,7 @@
|
||||
template:
|
||||
src: "gitea.service"
|
||||
dest: "/etc/systemd/system/gitea.service"
|
||||
notify: restart gitea
|
||||
- name: Start and enable service
|
||||
service:
|
||||
name: "gitea.service"
|
||||
|
Loading…
Reference in New Issue
Block a user