From f38450f9f2037244300082f3e4211b790ac87058 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 26 Oct 2015 20:38:25 +0100 Subject: Assorted changes - add hooks between webserver and gitserver: git->website and wiki->git work now, git->wiki is still missing, https://ikiwiki.info/tips/Hosting_Ikiwiki_and_master_git_repository_on_different_machines/ should contain the right info for that - actually configure repo_service - replace LDAP auth with dummy password auth for now --- roles/repo_service/files/repo_service.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 roles/repo_service/files/repo_service.service (limited to 'roles/repo_service/files') diff --git a/roles/repo_service/files/repo_service.service b/roles/repo_service/files/repo_service.service new file mode 100644 index 0000000..15c40ea --- /dev/null +++ b/roles/repo_service/files/repo_service.service @@ -0,0 +1,13 @@ +[Unit] +Description=repository creation service +After=network.target + +[Service] +User=repo_service +Group=repo_service +WorkingDirectory=/var/lib/repo_service/src/backend +ExecStart=/usr/bin/python /var/lib/repo_service/src/backend/repo_service.py +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.1