mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 21:23:44 +08:00
Fix Vagrant
This commit is contained in:
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@@ -28,6 +28,8 @@ $script = <<SCRIPT
|
||||
rpm-build \
|
||||
swig \
|
||||
systemd-devel
|
||||
mkdir /usr/share/fedmsg
|
||||
chown fedmsg:fedmsg /usr/share/fedmsg
|
||||
systemctl enable fedmsg-relay
|
||||
systemctl start fedmsg-relay
|
||||
mkdir /etc/module-build-service/
|
||||
|
||||
@@ -119,7 +119,7 @@ class DevConfiguration(BaseConfiguration):
|
||||
KOJI_ARCHES = ['x86_64']
|
||||
KOJI_REPOSITORY_URL = 'http://kojipkgs.stg.fedoraproject.org/repos'
|
||||
|
||||
OIDC_CLIENT_SECRETS = "client_secrets.json"
|
||||
OIDC_CLIENT_SECRETS = path.join(confdir, 'client_secrets.json')
|
||||
|
||||
SSL_CERTIFICATE_FILE = path.join(confdir, 'server.crt')
|
||||
SSL_CERTIFICATE_KEY_FILE = path.join(confdir, 'server.key')
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Scheduler for the Module Build Service
|
||||
After=network.target
|
||||
Documentation=https://pagure.io/fm-orchestrator
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/mbs-daemon
|
||||
Type=simple
|
||||
User=fedmsg
|
||||
Group=fedmsg
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -73,9 +73,9 @@ To start the frontend manually, run the following inside the guest::
|
||||
|
||||
$ mbs-frontend
|
||||
|
||||
To start the scheduler manually, run the following inside the guest::
|
||||
To start the scheduler manually, run the following at `/tmp/module_build_service` inside the guest::
|
||||
|
||||
$ mbs-daemon
|
||||
$ fedmsg-hub
|
||||
|
||||
Alternatively, you can restart the Vagrant guest, which inherently starts/restarts the frontend and the scheduler with::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user