Compare commits
12 Commits
developmen
...
v3.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| f2db4fe54f | |||
| 2004182b7e | |||
|
|
bfabc38a46 | ||
|
|
d3927f6c5d | ||
|
|
e4ea3a420d | ||
|
|
1816d8a585 | ||
|
|
09e8534569 | ||
|
|
7b0b2e8194 | ||
|
|
c8fa7680ca | ||
|
|
0f2c17071c | ||
|
|
d716fefb88 | ||
| 764883f26d |
@@ -76,9 +76,8 @@
|
||||
- name: Create the gitea user
|
||||
ansible.builtin.user:
|
||||
name: "{{ gitea_user }}"
|
||||
comment: "Gitea Service User"
|
||||
group: "{{ gitea_group }}"
|
||||
home: "{{ gitea_work_path }}"
|
||||
home: /home/{{ gitea_user }}
|
||||
shell: /bin/bash
|
||||
password: '*'
|
||||
system: true
|
||||
|
||||
@@ -16,7 +16,7 @@ Group={{ gitea_group }}
|
||||
WorkingDirectory={{ gitea_work_path }}
|
||||
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment=USER={{ gitea_user }} HOME={{ gitea_work_path }} GITEA_WORK_DIR={{ gitea_work_path }}
|
||||
Environment=USER={{ gitea_user }} HOME=/home/{{ gitea_user }} GITEA_WORK_DIR={{ gitea_work_path }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user