File rmt-server-migration.service of Package rmt-server.7737
[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 WorkingDirectory=/usr/share/rmt ExecStart=/usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production [Install] WantedBy=rmt-server.target