Commit Graph

18 Commits

Author SHA1 Message Date
21d3d8c410 Move add user task to an import_tasks task so that we can actually notify it, use systemd daemon reloads in a copuple places 2020-04-30 11:54:27 -05:00
f68c64e467 Fix gitea user not having a shell 2020-04-30 08:10:02 -05:00
30041d16e1 Shoooould be the last thing we need to configure 2020-04-30 07:26:03 -05:00
04cc076d5c Create webroot so Apache stops complaining 2020-04-30 07:20:04 -05:00
a7f2afd43a Add default user if we're generating a DB 2020-04-30 07:07:18 -05:00
2b1ed0daf1 Revert "Add Gitea default user if and only if we don't have any users"
This reverts commit aa11c3378b.
Turns out I don't have that module, nor do I care to patch my
environment.
2020-04-30 07:05:28 -05:00
aa11c3378b Add Gitea default user if and only if we don't have any users 2020-04-30 07:03:52 -05:00
d4e4c53b00 Restart Gitea if service changes 2020-04-30 06:45:04 -05:00
0e9b43438b Add the right module 2020-04-30 06:21:25 -05:00
90e1dbea28 Why am I trying to write to etc as git? 2020-04-30 06:01:59 -05:00
181f8835e2 Use handler so that we actually have a users table when we go to add the admin 2020-04-30 05:59:10 -05:00
c5ee46be04 Become git when adding user 2020-04-30 05:44:19 -05:00
9fd5ca7e3f Whoops. Kinda need argv there 2020-04-30 05:41:12 -05:00
1ada045fa2 Quote variables 2020-04-30 05:39:53 -05:00
661cad5c39 Make command clearer, include config, and give the git user access to his damn config file 2020-04-30 05:38:55 -05:00
2f432feb24 Create default admin user on startup 2020-04-30 05:25:35 -05:00
a80d0fa1c4 Only deploy Gitea config if we don't already have one 2020-04-30 05:08:52 -05:00
31ea3c3e1f Add Gitea role 2020-04-30 05:06:49 -05:00