Merge "Add the new gerrit systemctl file to init"
This commit is contained in:
commit
fda2cdcc0c
@ -98,6 +98,10 @@ public class SitePathInitializer {
|
||||
|
||||
extract(site.gerrit_sh, getClass(), "gerrit.sh");
|
||||
chmod(0755, site.gerrit_sh);
|
||||
extract(site.gerrit_service, getClass(), "gerrit.service");
|
||||
chmod(0755, site.gerrit_service);
|
||||
extract(site.gerrit_service, getClass(), "gerrit.socket");
|
||||
chmod(0755, site.gerrit_socket);
|
||||
chmod(0700, site.tmp_dir);
|
||||
|
||||
extractMailExample("Abandoned.soy");
|
||||
|
@ -46,6 +46,8 @@ public final class SitePaths {
|
||||
public final Path index_dir;
|
||||
|
||||
public final Path gerrit_sh;
|
||||
public final Path gerrit_service;
|
||||
public final Path gerrit_socket;
|
||||
public final Path gerrit_war;
|
||||
|
||||
public final Path gerrit_config;
|
||||
@ -85,6 +87,8 @@ public final class SitePaths {
|
||||
index_dir = p.resolve("index");
|
||||
|
||||
gerrit_sh = bin_dir.resolve("gerrit.sh");
|
||||
gerrit_service = bin_dir.resolve("gerrit.service");
|
||||
gerrit_socket = bin_dir.resolve("gerrit.socket");
|
||||
gerrit_war = bin_dir.resolve("gerrit.war");
|
||||
|
||||
gerrit_config = etc_dir.resolve("gerrit.config");
|
||||
|
Loading…
Reference in New Issue
Block a user