Page MenuHomePhabricator

Replace upstart with systemd unit in ::sentry
Closed, ResolvedPublic

Description

service { 'sentry-server':
    ensure    => running,
    enable    => true,
    provider  => 'upstart',
    require   => [
        Virtualenv::Environment[$deploy_dir],
        Mysql::User[$db_user],
    ],
    subscribe => [
        File[$cfg_file],
        Exec['create sentry project'],
    ],
}

service { 'sentry-worker':
    ensure    => running,
    enable    => true,
    provider  => 'upstart',
    require   => [
        Virtualenv::Environment[$deploy_dir],
        Mysql::User[$db_user],
    ],
    subscribe => [
        File[$cfg_file],
        Exec['create sentry project'],
    ],
}

Event Timeline

bd808 created this task.Dec 29 2016, 5:14 AM
bd808 added a comment.Dec 29 2016, 5:34 AM

Patches should be submitted to the jessie-migration gerrit branch.

Change 330352 had a related patch set uploaded (by Gergő Tisza):
Convert sentry to systemd

https://gerrit.wikimedia.org/r/330352

Change 330352 merged by jenkins-bot:
Convert sentry to systemd

https://gerrit.wikimedia.org/r/330352

bd808 closed this task as Resolved.Jan 23 2017, 4:37 AM
bd808 assigned this task to Tgr.
bd808 moved this task from Backlog to Done on the MediaWiki-Vagrant board.Jan 23 2017, 4:09 PM