File rmt-server-migration.service of Package rmt-server.10018

[Unit]
Description=RMT database setup
Requires=mysql.service
After=mysql.service
Before=rmt-server.service

[Service]
Type=oneshot
User=_rmt
Environment="LOG_TO_JOURNALD=1" "LANG=en"
WorkingDirectory=/usr/share/rmt
ExecStart=/usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production

[Install]
WantedBy=rmt-server.target
openSUSE Build Service is sponsored by